Skip to content

Commit 91eab92

Browse files
committed
CI: clean up free-threading job, and pin actions in tests.yml
1 parent 9011ae9 commit 91eab92

1 file changed

Lines changed: 8 additions & 25 deletions

File tree

.github/workflows/tests.yml

Lines changed: 8 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,8 @@ jobs:
6262
python-version: "3.13"
6363
OPTIONS_NAME: "editable-install"
6464
steps:
65-
- name: Checkout PyWavelets
66-
uses: actions/checkout@v4
67-
68-
- name: Setup Python
69-
uses: actions/setup-python@v5
65+
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
66+
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
7067
with:
7168
python-version: ${{ matrix.python-version}}
7269
allow-prereleases: true
@@ -142,28 +139,17 @@ jobs:
142139
test_pywavelets_linux_free_threaded:
143140
name: linux-cp313t-default
144141
runs-on: ubuntu-latest
145-
strategy:
146-
# Ensure that a wheel builder finishes even if another fails
147-
fail-fast: false
148-
149142
steps:
150-
- name: Checkout PyWavelets
151-
uses: actions/checkout@v4
152-
153-
# TODO: replace with setup-python when there is support
154-
- uses: deadsnakes/action@e640ac8743173a67cca4d7d77cd837e514bf98e8 # v3.2.0
143+
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
144+
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
155145
with:
156-
python-version: "3.13-dev"
146+
python-version: "3.13"
157147
nogil: true
158148

159149
- name: Build package
160150
run: |
161-
which python
162-
python --version
163151
pip install --upgrade pip build
164-
# We need nightly wheels for free-threaded support and latest fixes
165-
pip install --pre -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple cython numpy
166-
pip install pytest meson-python ninja
152+
pip install cython numpy meson-python ninja pytest
167153
pip install . -v --no-build-isolation
168154
169155
- name: Run tests
@@ -196,11 +182,8 @@ jobs:
196182
OPTIONS_NAME: "pre-releases"
197183

198184
steps:
199-
- name: Checkout PyWavelets
200-
uses: actions/checkout@v4
201-
202-
- name: Setup Python
203-
uses: actions/setup-python@v5
185+
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
186+
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
204187
with:
205188
python-version: ${{ matrix.python-version}}
206189
allow-prereleases: true

0 commit comments

Comments
 (0)