Skip to content

Commit 63250de

Browse files
committed
Update publish.yaml
1 parent 483a31b commit 63250de

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/publish.yaml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,30 @@ jobs:
2525
name: python-package-distributions
2626
path: dist/
2727
test:
28+
strategy:
29+
matrix:
30+
python-version:
31+
- "3.10"
32+
- "3.11"
33+
- "3.12"
34+
- "3.13"
2835
name: Test Python 📦
2936
needs:
3037
- build
3138
runs-on: ubuntu-latest
3239
steps:
40+
- uses: actions/checkout@v4
41+
with:
42+
fetch-depth: 0
43+
sparse-checkout: test
3344
- name: Download all the dists
3445
uses: actions/download-artifact@v4
3546
with:
3647
name: python-package-distributions
3748
path: dist
38-
- run: ls -lah dist
39-
- uses: actions/checkout@v4
40-
with:
41-
fetch-depth: 0
42-
sparse-checkout: test
43-
- run: ls -lah dist
4449
- uses: actions/setup-python@v5
4550
with:
46-
python-version: 3.12
51+
python-version: ${{ matrix.python-version }}
4752
cache: 'pip'
4853
- name: Install
4954
run: |

0 commit comments

Comments
 (0)