Repository navigation
Run integration tests for each project in parallel - #158
Merged
Merged
Conversation
Each project's integration tests run as their own make target, 4 at a time (INTEGRATION_JOBS). -k keeps the remaining projects running after a failure, and make still exits non-zero if any failed. --output-sync=target keeps each project's output in one block when GNU make 4 or later is available. Each project and the whole step print how long they took.
stobrien89
approved these changes
Nov 24, 2026
Alan4506
approved these changes
Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
make test-integrationran each project's integration tests one after another and stopped at the first failing project. This runs each project as its own make target, 4 at a time, which cuts the step's wall time without changing which tests run.INTEGRATION_JOBS(default 4) sets how many projects run at once.-kkeeps the remaining projects running after a failure, so one build reports every failing project. The step still exits non-zero if any project failed.--output-sync=targetprints each project's output as one block when GNU make 4 or later is available. The CI image has it.== <project> finished in Ns (exit N), and the step prints its total. pytest's--durations=5lists each project's slowest tests.Testing
Measured on a draft PR (#156) with the same change:
develop, so expect the step to fall from about 7.5 min sequentially to about 2 min, with Secrets Manager the slowest project.make[1]: *** [...integration/clients/<project>] Error 1lines listing each failing projectBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.