Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Attempt to speed up integration tests using pre-built images #2478
This changes the e2e tests in CircleCI to use docker-compose which will use pre-built images from AWS ECR to speed up testing. My tests show that this takes us from about 16 minutes for e2e tests to as low as 10 minutes (depending on how CircleCI is queuing containers).
Further speed ups could happen if we balance how many tests exist in each cypress test file. You can compare how big each test file is by using
Also in this PR:
Running locally should be unaffected:
make e2e_test make e2e_test_docker
Also, this change maintains the promise that what is run locally matches what will be run in CircleCI.
Code Review Verification Steps
@@ Coverage Diff @@ ## master #2478 +/- ## ======================================== + Coverage 60.6% 60.6% +0.1% ======================================== Files 298 298 Lines 16240 16252 +12 ======================================== + Hits 9833 9842 +9 - Misses 5256 5258 +2 - Partials 1151 1152 +1
@chrisgilmerproj I get this error when running
Am I missing a setup step?
@garrettqmartin8 Discovered I used