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
|
ulimit -n 1024
|
||||||
export TZ=UTC
|
export TZ=UTC
|
||||||
uv sync --all-extras
|
uv sync --all-extras
|
||||||
uv run pytest --showlocals
|
uv run pytest --numprocesses auto
|
||||||
|
|
||||||
minversions:
|
minversions:
|
||||||
name: minimum dependency versions
|
name: minimum dependency versions
|
||||||
|
@ -68,7 +68,7 @@ jobs:
|
||||||
ulimit -n 1024
|
ulimit -n 1024
|
||||||
export TZ=UTC
|
export TZ=UTC
|
||||||
uv sync --all-extras --resolution=lowest-direct
|
uv sync --all-extras --resolution=lowest-direct
|
||||||
uv run pytest --showlocals
|
uv run pytest --numprocesses auto
|
||||||
|
|
||||||
style:
|
style:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -41,7 +41,7 @@ coverage:
|
||||||
script:
|
script:
|
||||||
- uv sync --all-extras
|
- uv sync --all-extras
|
||||||
- uv pip install coveralls pyyaml tomli
|
- 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 run coveralls
|
||||||
- uv cache prune --ci
|
- uv cache prune --ci
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ tests:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- uv sync --all-extras
|
- uv sync --all-extras
|
||||||
- uv run pytest
|
- uv run pytest --numprocesses auto
|
||||||
- uv cache prune --ci
|
- uv cache prune --ci
|
||||||
|
|
||||||
minversions:
|
minversions:
|
||||||
|
@ -65,7 +65,7 @@ minversions:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- uv sync --all-extras --resolution=lowest-direct
|
- uv sync --all-extras --resolution=lowest-direct
|
||||||
- uv run pytest
|
- uv run pytest --numprocesses auto
|
||||||
- uv cache prune --ci
|
- uv cache prune --ci
|
||||||
|
|
||||||
doc:
|
doc:
|
||||||
|
|
Loading…
Reference in a new issue