Skip to content

Commit 82c61de

Browse files
authored
fix: use correct python version for tox pytest
1 parent c9c9cdd commit 82c61de

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,16 @@ jobs:
6464
steps:
6565
- uses: actions/checkout@v4
6666
- uses: actions/setup-python@v5
67+
id: setup-python
6768
with:
6869
python-version: ${{ matrix.python }}
6970
- name: Retrieve pre-built distribution files
7071
uses: actions/download-artifact@v4
7172
with: {name: python-distribution-files, path: dist/}
7273
- name: Run tests
7374
run: >-
74-
pipx run tox -e test
75-
--installpkg '${{ needs.prepare.outputs.wheel-distribution }}'
75+
pipx run --python '${{ steps.setup-python.outputs.python-path }}'
76+
tox -e test --installpkg '${{ needs.prepare.outputs.wheel-distribution }}'
7677
-- -rFEx --durations 10 --color yes
7778
--wiki_domain "${{ secrets.INTEGR_TEST_WIKI_DOMAIN }}"
7879
--wiki_username "${{ secrets.INTEGR_TEST_WIKI_USERNAME }}"
@@ -103,7 +104,7 @@ jobs:
103104
runs-on: ubuntu-latest
104105
steps:
105106
- uses: actions/checkout@v4
106-
- uses: actions/setup-python@v4
107+
- uses: actions/setup-python@v5
107108
with: {python-version: "3.12"}
108109
- name: Retrieve pre-built distribution files
109110
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)