Skip to content

Improve integration test speed#140

Open
codebyemily wants to merge 4 commits intomainfrom
emily/speedier-integration-tests
Open

Improve integration test speed#140
codebyemily wants to merge 4 commits intomainfrom
emily/speedier-integration-tests

Conversation

@codebyemily
Copy link
Copy Markdown
Collaborator

Docker build caching in CI:

docker-compose.ci-cache.yml adds BuildKit cache settings to the two images Compose builds: server and mock-clark.
cache_to: type=gha saves build layers into GitHub’s Actions cache.
cache_from: type=gha tells the next build to reload those layers so unchanged steps (for example downloading Go modules or installing tooling) skip work.

Parallelize Tests:

Wired go test -count=1 -parallel 8 in the Makefile and added t.Parallel() to each integration test so the parallel limit actually applies and test result caching doesn’t hide failures.

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.

1 participant