forked from Github-Mirrors/canaille
tests: run tests in parallel in CI workflows
This commit is contained in:
parent
7bc3c05cdd
commit
7c89befdd4
2 changed files with 5 additions and 5 deletions
4
.github/workflows/tests.yaml
vendored
4
.github/workflows/tests.yaml
vendored
|
@ -42,7 +42,7 @@ jobs:
|
|||
ulimit -n 1024
|
||||
export TZ=UTC
|
||||
uv sync --all-extras
|
||||
uv run pytest --showlocals
|
||||
uv run pytest --numprocesses auto
|
||||
|
||||
minversions:
|
||||
name: minimum dependency versions
|
||||
|
@ -68,7 +68,7 @@ jobs:
|
|||
ulimit -n 1024
|
||||
export TZ=UTC
|
||||
uv sync --all-extras --resolution=lowest-direct
|
||||
uv run pytest --showlocals
|
||||
uv run pytest --numprocesses auto
|
||||
|
||||
style:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -41,7 +41,7 @@ coverage:
|
|||
script:
|
||||
- uv sync --all-extras
|
||||
- uv pip install coveralls pyyaml tomli
|
||||
- uv run pytest --cov --cov-fail-under=100 --cov-report term:skip-covered -n auto
|
||||
- uv run pytest --cov --cov-fail-under=100 --cov-report term:skip-covered --numprocesses auto
|
||||
- uv run coveralls
|
||||
- uv cache prune --ci
|
||||
|
||||
|
@ -54,7 +54,7 @@ tests:
|
|||
stage: test
|
||||
script:
|
||||
- uv sync --all-extras
|
||||
- uv run pytest
|
||||
- uv run pytest --numprocesses auto
|
||||
- uv cache prune --ci
|
||||
|
||||
minversions:
|
||||
|
@ -65,7 +65,7 @@ minversions:
|
|||
stage: test
|
||||
script:
|
||||
- uv sync --all-extras --resolution=lowest-direct
|
||||
- uv run pytest
|
||||
- uv run pytest --numprocesses auto
|
||||
- uv cache prune --ci
|
||||
|
||||
doc:
|
||||
|
|
Loading…
Reference in a new issue