Skip to content

Commit 6ddffce

Browse files
authored
Merge pull request #813 from rgommers/ci-cleanup
CI: clean up free-threading job, and pin actions in tests.yml
1 parent 9011ae9 commit 6ddffce

File tree

1 file changed

+8
-28
lines changed

1 file changed

+8
-28
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 28 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,33 +139,19 @@ 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"
157-
nogil: true
146+
python-version: "3.13t"
158147

159148
- name: Build package
160149
run: |
161-
which python
162-
python --version
163150
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
151+
pip install cython numpy meson-python ninja pytest
167152
pip install . -v --no-build-isolation
168153
169154
- name: Run tests
170-
env:
171-
PYTHON_GIL: 0
172155
run: |
173156
# Move out of source directory to avoid finding local pywt
174157
cd demo
@@ -196,11 +179,8 @@ jobs:
196179
OPTIONS_NAME: "pre-releases"
197180

198181
steps:
199-
- name: Checkout PyWavelets
200-
uses: actions/checkout@v4
201-
202-
- name: Setup Python
203-
uses: actions/setup-python@v5
182+
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
183+
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
204184
with:
205185
python-version: ${{ matrix.python-version}}
206186
allow-prereleases: true

0 commit comments

Comments
 (0)