Skip to content

Commit 6ddfb32

Browse files
committed
Add Python 3.14; remove Python 3.10
1 parent b042a41 commit 6ddfb32

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

.github/workflows/pytest.yml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,6 @@ on:
1212
schedule:
1313
- cron: "14 14 20 * *"
1414

15-
# Use bash by default in all jobs
16-
defaults:
17-
run:
18-
# Using "-l {0}" is necessary for conda environments to be activated
19-
# But this breaks on MacOS if using actions/setup-python:
20-
# https://github.com/actions/setup-python/issues/132
21-
shell: bash
22-
2315
# Cancel any previous run of the test job.
2416
concurrency:
2517
group: ${{ github.workflow }}-${{ github.ref }}
@@ -34,20 +26,20 @@ jobs:
3426
fail-fast: false
3527
matrix:
3628
os: [ubuntu, ] # macos, windows] # Only Linux currently.
37-
python-version: ["3.10", "3.11", "3.12", "3.13"]
29+
python-version: ["3.11", "3.12", "3.13", "3.14"]
3830

3931
steps:
4032

4133
# Checks-out your repository under $GITHUB_WORKSPACE
4234
- name: Checkout
43-
uses: actions/checkout@v4
35+
uses: actions/checkout@v6.0.1
4436
with:
4537
# The GitHub token is preserved by default but this job doesn't need
4638
# to be able to push to GitHub.
4739
persist-credentials: false
4840

4941
- name: Setup Python
50-
uses: actions/setup-python@v5
42+
uses: actions/setup-python@v6.1.0
5143
with:
5244
python-version: ${{ matrix.python-version }}
5345

@@ -72,16 +64,16 @@ jobs:
7264
steps:
7365
# Checks-out your repository under $GITHUB_WORKSPACE
7466
- name: Checkout
75-
uses: actions/checkout@v4
67+
uses: actions/checkout@v6.0.1
7668
with:
7769
# The GitHub token is preserved by default but this job doesn't need
7870
# to be able to push to GitHub.
7971
persist-credentials: false
8072

8173
- name: Setup Python
82-
uses: actions/setup-python@v5
74+
uses: actions/setup-python@v6.1.0
8375
with:
84-
python-version: "3.12"
76+
python-version: "3.13"
8577

8678
- name: Install dependencies
8779
run: |
@@ -101,7 +93,7 @@ jobs:
10193
- name: Publish to PyPI
10294
# Only for releases
10395
if: success() && github.event_name == 'release'
104-
uses: pypa/gh-action-pypi-publish@release/v1
96+
uses: pypa/gh-action-pypi-publish@v1.13.0
10597
with:
10698
user: __token__
10799
password: ${{ secrets.PYPI_PASSWORD }}

0 commit comments

Comments
 (0)