Skip to content

Commit 03c9eb8

Browse files
committed
fix test paths
1 parent 1e65e14 commit 03c9eb8

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
# Non-default pixi task (default: tests-ci)
6969
- {
7070
environment: tests-nogil,
71-
task: "tests --parallel-threads=4",
71+
task: "tests '--parallel-threads=4 tests/main'",
7272
no-coverage: true,
7373
x64_runner: ubuntu-latest,
7474
}

pixi.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,8 @@ tests = {
230230
}
231231
tests-cov = {
232232
description = "Run tests with coverage",
233-
cmd = "pytest -v -ra --cov --cov-report=xml --cov-report=term --durations=20 tests/main",
233+
args = [{ arg = "pytest_args", default = "tests/main" }],
234+
cmd = "pytest -v -ra --cov --cov-report=xml --cov-report=term --durations=20 {{ pytest_args }}",
234235
default-environment = "tests",
235236
}
236237

0 commit comments

Comments
 (0)