Skip to content

Commit 83ae80f

Browse files
committed
CI: Fix Python version setup.
1 parent eadd50c commit 83ae80f

1 file changed

Lines changed: 15 additions & 5 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,31 @@ jobs:
5959

6060
runs-on: ${{ matrix.os }}
6161

62-
env:
63-
# List special Pythons first to keep the 'normal' one as (last) "python3.xy".
64-
PYTHON_VERSIONS: "3.9 3.10 3.11 3.12 3.13 3.14t 3.14 3.15t 3.15 3.16t-dev 3.16-dev"
65-
6662
steps:
6763
- name: Check out project
6864
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
6965

7066
- name: Set up Python
7167
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
7268
with:
73-
python-version: ${{ env.PYTHON_VERSIONS }}
69+
# List special Pythons first to keep the 'normal' one as (last) "python3.xy".
70+
python-version: |
71+
3.9
72+
3.10
73+
3.11
74+
3.12
75+
3.13
76+
3.13t
77+
3.14
78+
3.14t
79+
3.15
80+
3.15t
81+
3.16-dev
82+
3.16t-dev
7483
7584
- name: Install Dependencies
7685
run: |
86+
which python3.10
7787
for PYVER in ${{ env.PYTHON_VERSIONS }}; do \
7888
if [[ -n "$${PYVER#3.9}" ]]; then python$${PYVER%-dev} -m pip install -U pip setuptools || exit 1; fi; \
7989
python$${PYVER%-dev} -m pip install -r requirements.txt || exit 1; \

0 commit comments

Comments
 (0)