Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ xfail_strict = true
[tool.coverage.run]
branch = true
source = ["src/taskgraph/", "src/taskgraph/run-task/", "packages", "test"]
parallel = true
patch = ["_exit"]

### Lint and Format
[tool.ruff]
Expand Down
9 changes: 6 additions & 3 deletions taskcluster/kinds/test/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ unit:
symbol: unit(py{matrix[python]})
run:
command: >-
uv run coverage run --data-file /builds/worker/artifacts/coverage --context=py{matrix[python]} -m pytest -vv
uv run coverage run --data-file /builds/worker/artifacts/coverage --context=py{matrix[python]} -m pytest -vv &&
uv run coverage combine --data-file /builds/worker/artifacts/coverage

unit-multithread:
description: "Run unit tests with py{matrix[python]} on Linux with multithreading enabled"
Expand All @@ -68,7 +69,8 @@ unit-multithread:
symbol: unit-multithread(py{matrix[python]})
run:
command: >-
uv run coverage run --data-file /builds/worker/artifacts/coverage --context=py{matrix[python]} -m pytest -vv
uv run coverage run --data-file /builds/worker/artifacts/coverage --context=py{matrix[python]} -m pytest -vv &&
uv run coverage combine --data-file /builds/worker/artifacts/coverage

unit-serial:
description: "Run unit tests with py{matrix[python]} on Linux in serial mode"
Expand All @@ -88,7 +90,8 @@ unit-serial:
symbol: unit-serial(py{matrix[python]})
run:
command: >-
uv run coverage run --data-file /builds/worker/artifacts/coverage --context=py{matrix[python]} -m pytest -vv
uv run coverage run --data-file /builds/worker/artifacts/coverage --context=py{matrix[python]} -m pytest -vv &&
uv run coverage combine --data-file /builds/worker/artifacts/coverage

integration:
description: "Run unit tests with py{matrix[python]} on Linux with resolution {matrix[resolution]}"
Expand Down
Loading