Skip to content

Commit

Permalink
use PYTHON_EXECUTABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
fohrloop committed Jan 15, 2024
1 parent 7ca350c commit 5a3cc29
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
runs-on: ubuntu-22.04
env:
PYTHON_VERSION: '3.11'
PYTHON_EXECUTABLE: 'python3.11'
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -35,8 +36,8 @@ jobs:
run: python -c "import platform; print(platform.platform())"
- name: install tox
run: |
python3.10 -m pip install -U pip wheel && \
python3.10 -m pip install tox~=4.6.0
$PYTHON_EXECUTABLE -m pip install -U pip wheel && \
$PYTHON_EXECUTABLE -m pip install tox~=4.6.0
- name: Run tests with tox
run: tox -e py310,check
test-linux-py37:
Expand Down

0 comments on commit 5a3cc29

Please sign in to comment.