Skip to content

Commit c2715a7

Browse files
committed
Use proper python version in CI
Apparently CI has been completely broken I don't know how long due to pipx using the python interpreter it was installed for, instead of using the one we specifically prepared for tests. This patch uses python3 alias to install tox and run tests, which must guarantee proper python interpreter.
1 parent 1b76eec commit c2715a7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
python-version: "3.12"
2020

2121
- name: Run ruff
22-
run: pipx run tox -e lint
22+
run: |
23+
python3 -m pip install tox
24+
python3 -m tox -e lint
2325
env:
2426
RUFF_OUTPUT_FORMAT: github
2527

@@ -53,4 +55,6 @@ jobs:
5355
if: matrix.os == 'macos-latest'
5456

5557
- name: Run pytest
56-
run: pipx run tox -e test
58+
run: |
59+
python3 -m pip install tox
60+
python3 -m tox -e test

0 commit comments

Comments
 (0)