forked from Github-Mirrors/canaille
chore: temporary CI fix commit
This commit is contained in:
parent
d058ec8c10
commit
2fcc40eb7e
1 changed files with 8 additions and 0 deletions
|
@ -19,6 +19,7 @@ style:
|
||||||
image: python:3.12
|
image: python:3.12
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- pip uninstall pytest-lazy-fixture
|
||||||
- pip install pre-commit
|
- pip install pre-commit
|
||||||
- pre-commit run --all-files --show-diff-on-failure
|
- pre-commit run --all-files --show-diff-on-failure
|
||||||
|
|
||||||
|
@ -26,6 +27,7 @@ python39:
|
||||||
image: python:3.9
|
image: python:3.9
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- pip uninstall pytest-lazy-fixture
|
||||||
- poetry install --extras all
|
- poetry install --extras all
|
||||||
- poetry run pytest
|
- poetry run pytest
|
||||||
|
|
||||||
|
@ -33,6 +35,7 @@ python310:
|
||||||
image: python:3.10
|
image: python:3.10
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- pip uninstall pytest-lazy-fixture
|
||||||
- poetry install --extras all
|
- poetry install --extras all
|
||||||
- poetry run pytest
|
- poetry run pytest
|
||||||
|
|
||||||
|
@ -40,6 +43,7 @@ python311:
|
||||||
image: python:3.11
|
image: python:3.11
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- pip uninstall pytest-lazy-fixture
|
||||||
- poetry install --extras all
|
- poetry install --extras all
|
||||||
- poetry run pytest
|
- poetry run pytest
|
||||||
|
|
||||||
|
@ -47,6 +51,7 @@ python312:
|
||||||
image: python:3.12
|
image: python:3.12
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- pip uninstall pytest-lazy-fixture
|
||||||
- poetry install --extras all
|
- poetry install --extras all
|
||||||
- poetry run pytest
|
- poetry run pytest
|
||||||
|
|
||||||
|
@ -54,6 +59,7 @@ minversions:
|
||||||
image: python:3.9
|
image: python:3.9
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- pip uninstall pytest-lazy-fixture
|
||||||
- sed -i -E 's/"(\^|>=)([0-9\.]+)(.*)"/"==\2"/' pyproject.toml
|
- sed -i -E 's/"(\^|>=)([0-9\.]+)(.*)"/"==\2"/' pyproject.toml
|
||||||
- sed -i -E 's/python = "==/python = "^/' pyproject.toml
|
- sed -i -E 's/python = "==/python = "^/' pyproject.toml
|
||||||
- poetry lock
|
- poetry lock
|
||||||
|
@ -64,6 +70,7 @@ doc:
|
||||||
image: python:3.12
|
image: python:3.12
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- pip uninstall pytest-lazy-fixture
|
||||||
- poetry install --only doc
|
- poetry install --only doc
|
||||||
- poetry run sphinx-build doc build/sphinx/html
|
- poetry run sphinx-build doc build/sphinx/html
|
||||||
|
|
||||||
|
@ -72,6 +79,7 @@ coverage:
|
||||||
stage: test
|
stage: test
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
script:
|
script:
|
||||||
|
- pip uninstall pytest-lazy-fixture
|
||||||
- pip install coveralls pyyaml tomli
|
- pip install coveralls pyyaml tomli
|
||||||
- poetry install --extras all
|
- poetry install --extras all
|
||||||
- poetry run pytest --cov --cov-fail-under=100 --cov-report term:skip-covered -n auto
|
- poetry run pytest --cov --cov-fail-under=100 --cov-report term:skip-covered -n auto
|
||||||
|
|
Loading…
Reference in a new issue