Skip to content

Commit 23935ff

Browse files
Bumped GitHub actions to run under Node 24. Python versions tested now 3.10-3.14.
1 parent 38d0829 commit 23935ff

3 files changed

Lines changed: 19 additions & 19 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717

1818
- name: Set up Python
19-
uses: actions/setup-python@v4
19+
uses: actions/setup-python@v6
2020
with:
21-
# For performance and compatibility with linters, using the latest Python version
21+
# For CI stability, performance and compatibility reasons
2222
python-version: "3.12"
2323
cache: 'pip'
2424

@@ -43,13 +43,13 @@ jobs:
4343
max-parallel: 1
4444
matrix:
4545
# For backwards compatibility
46-
python-version: ["3.10", "3.11", "3.12"]
46+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
4747

4848
steps:
49-
- uses: actions/checkout@v4
49+
- uses: actions/checkout@v6
5050

5151
- name: Set up Python
52-
uses: actions/setup-python@v4
52+
uses: actions/setup-python@v6
5353
with:
5454
python-version: ${{ matrix.python-version }}
5555
cache: 'pip'
@@ -66,7 +66,7 @@ jobs:
6666
run: pytest --cov=wiley_tdm --cov-report=xml --cov-report=html
6767

6868
- name: Upload HTML coverage report
69-
uses: actions/upload-artifact@v4
69+
uses: actions/upload-artifact@v7
7070
with:
7171
name: coverage-report-${{ matrix.python-version }}
7272
path: htmlcov
@@ -78,12 +78,12 @@ jobs:
7878
needs: [lint, test]
7979

8080
steps:
81-
- uses: actions/checkout@v4
81+
- uses: actions/checkout@v6
8282

8383
- name: Set up Python
84-
uses: actions/setup-python@v4
84+
uses: actions/setup-python@v6
8585
with:
86-
# For performance reasons, using the latest Python version
86+
# For CI stability, performance and compatibility reasons
8787
python-version: "3.12"
8888
cache: 'pip'
8989

@@ -99,7 +99,7 @@ jobs:
9999
run: twine check dist/*
100100

101101
- name: Upload build artifacts
102-
uses: actions/upload-artifact@v4
102+
uses: actions/upload-artifact@v7
103103
with:
104104
name: python-dist
105105
path: dist/

.github/workflows/publish-test.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ jobs:
88
name: Publish to TestPyPI
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@v6
1212

1313
- name: Set up Python
14-
uses: actions/setup-python@v4
14+
uses: actions/setup-python@v6
1515
with:
16+
# For CI stability, performance and compatibility reasons
1617
python-version: "3.12"
1718
cache: 'pip'
1819

@@ -28,7 +29,7 @@ jobs:
2829
run: twine check dist/*
2930

3031
- name: Upload test artifacts
31-
uses: actions/upload-artifact@v4
32+
uses: actions/upload-artifact@v7
3233
with:
3334
name: testpypi-${{ github.run_number }}-${{ github.ref_name }}
3435
path: dist/
@@ -50,5 +51,3 @@ jobs:
5051
run: |
5152
echo "Available versions:"
5253
pip index versions --index-url https://test.pypi.org/simple/ wiley-tdm
53-
54-

.github/workflows/publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ jobs:
99
name: Publish to PyPI
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313

1414
- name: Set up Python
15-
uses: actions/setup-python@v4
15+
uses: actions/setup-python@v6
1616
with:
1717
python-version: "3.12"
18+
# For CI stability, performance and compatibility reasons
1819
cache: 'pip'
1920

2021
- name: Install dependencies
@@ -29,7 +30,7 @@ jobs:
2930
run: twine check dist/*
3031

3132
- name: Upload release artifacts
32-
uses: actions/upload-artifact@v4
33+
uses: actions/upload-artifact@v7
3334
with:
3435
name: release-dist-${{ github.ref_name }}
3536
path: dist/

0 commit comments

Comments
 (0)