Skip to content

Commit 50bff71

Browse files
committed
use selected python version
1 parent 1267eeb commit 50bff71

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,10 @@ jobs:
344344

345345
- name: Setup virtualenv
346346
run: |
347-
virtualenv venv
347+
virtualenv venv -p python${PYTHON_VERSION}
348348
./venv/bin/pip install build
349+
env:
350+
PYTHON_VERSION: ${{ matrix.python }}
349351

350352
- name: Install package dependencies (develop)
351353
run: |
@@ -357,8 +359,8 @@ jobs:
357359

358360
- name: Install package dependencies (release)
359361
run: |
360-
./venv/bin/python -m build --sdist
361362
./venv/bin/pip install cmake
363+
./venv/bin/python -m build --sdist
362364
shell: bash
363365
if: ${{ matrix.deps == 'release' }}
364366

0 commit comments

Comments
 (0)