forked from Github-Mirrors/canaille
chore: CI minversions python version fix attempt
This commit is contained in:
parent
c1f3d9983a
commit
d91250effa
2 changed files with 2 additions and 1 deletions
2
.github/workflows/tests.yaml
vendored
2
.github/workflows/tests.yaml
vendored
|
@ -56,7 +56,7 @@ jobs:
|
|||
- name: App armor configuration for slapd
|
||||
run: sudo aa-complain /usr/sbin/slapd
|
||||
- name: Force minimum dependency versions
|
||||
run: sed -i -E 's/"(\^|>=)([0-9])/"==\2/' pyproject.toml
|
||||
run: sed -i -E 's/"(\^|>=)([0-9])/"==\2/' pyproject.toml && sed -i -E 's/python = "==/python = "^/' pyproject.toml
|
||||
- run: poetry --version
|
||||
- run: poetry install
|
||||
- run: poetry run pytest
|
||||
|
|
|
@ -55,6 +55,7 @@ minversions:
|
|||
stage: test
|
||||
script:
|
||||
- sed -i -E 's/"(\^|>=)([0-9])/"==\2/' pyproject.toml
|
||||
- sed -i -E 's/python = "==/python = "^/' pyproject.toml
|
||||
- poetry install
|
||||
- poetry run pytest
|
||||
|
||||
|
|
Loading…
Reference in a new issue