Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding E2E Tests to CircleCI #253

Merged
merged 37 commits into from
Jun 23, 2020
Merged

Adding E2E Tests to CircleCI #253

merged 37 commits into from
Jun 23, 2020

Conversation

galenmarchetti
Copy link
Contributor

Creates script in .ci/ to pull and run e2e tests using Kurtosis framework.

Runs a test for full connectivity in a 5 node staking network, and a simple test against the getValidators API endpoint.

@codecov
Copy link

codecov bot commented Jun 21, 2020

Codecov Report

Merging #253 into master will decrease coverage by 0.00600%.
The diff coverage is n/a.

@@                 Coverage Diff                 @@
##              master        #253         +/-   ##
===================================================
- Coverage   60.42242%   60.41642%   -0.00601%     
===================================================
  Files            246         246                 
  Lines          16666       16666                 
===================================================
- Hits           10070       10069          -1     
- Misses          5682        5683          +1     
  Partials         914         914                 

GECKO_IMAGE=$(docker image ls --format="{{.Repository}}" | head -n 1)

# Turn off GO111MODULE to pull e2e test source code in order to get run script.
GO111MODULE=off go get -t -v github.com/kurtosis-tech/ava-e2e-tests/...
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure I understand why we need to switch off GO111MODULE here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@holisticode in go 1.13, with GO111MODULE=on, go get will not pull source code. ( golang/go#31529 ) We have scripts that build necessary docker images which interact with the network, so we want to pull the source from the test repo to build those images.

@StephenButtolph StephenButtolph merged commit df107ba into ava-labs:master Jun 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants