Skip to content

Commit

Permalink
Integration test CI improvements (#1396)
Browse files Browse the repository at this point in the history
Makes integration tests a bit better by avoiding fast-fail (avoids canceling test runs that would pass when the other flakes) and increases parallelism to 6 & changes load-balancing strategy to combat recent increases in runtime.
  • Loading branch information
sfc-gh-fcampbell authored Aug 1, 2024
1 parent a3e819a commit 5764419
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
integration-trusted:
needs: define-matrix
strategy:
fail-fast: true
fail-fast: false
matrix:
os: ${{ fromJSON(needs.define-matrix.outputs.os) }}
python-version: ${{ fromJSON(needs.define-matrix.outputs.python) }}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ pre-install-commands = [
features = ["development"]

[tool.hatch.envs.integration.scripts]
test = ["pytest -m integration -n4 --dist=loadfile"]
test = ["pytest -m integration -n6 --dist=worksteal"]

[[tool.hatch.envs.local.matrix]]
python = ["3.10", "3.11", "3.12"]
Expand Down

0 comments on commit 5764419

Please sign in to comment.