Skip to content

Commit

Permalink
set pip-pre python version with environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Scheltienne committed Jan 3, 2024
1 parent 002ea42 commit 4a4aeb3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,20 @@ jobs:
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
name: pip pre-release - py${{ matrix.python-version }}
env:
PY_VERSION: "3.11"
name: pip pre-release - py$PY_VERSION
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
- name: Setup Python $PY_VERSION
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: $PY_VERSION
architecture: 'x64'
- name: Install dependencies
run: |
Expand Down

0 comments on commit 4a4aeb3

Please sign in to comment.