Skip to content

Commit 1a5743a

Browse files
committed
Add hack to get correct python version name
1 parent 1fc9ef0 commit 1a5743a

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/miniconda.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ jobs:
1212
# NO_NET: 1
1313
strategy:
1414
matrix:
15-
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t" ]
15+
python-version: [
16+
["python", "3.10"],
17+
["python", "3.11"],
18+
["python", "3.12"]
19+
["python", "3.13"],
20+
["python", "3.14"],
21+
["python-freethreading", "3.14" ],
1622
os: [windows-latest, ubuntu-latest, macos-latest]
1723
platform: [x64, x32]
1824
exclude:
@@ -34,7 +40,7 @@ jobs:
3440
environment-name: TEST
3541
init-shell: bash
3642
create-args: >-
37-
${{ endsWith(matrix.python-version, 't') && 'python-freethreading' || 'python' }}=${{ matrix.python-version }}
43+
${{ matrix.python-version[0] }=${{ matrix.python-version[1] }}
3844
numpy cython pip setuptools pytest hdf5 libnetcdf cftime zlib certifi typing-extensions
3945
--channel conda-forge
4046

0 commit comments

Comments
 (0)