Skip to content

Commit 8e226e8

Browse files
authored
test against Python 3.12 and bump python versions used in CI (#231)
* test against Python 3.12 and bump python versions used in CI * Update CI configuration to disable fail-fast option * update concurrency configuration
1 parent 72d9960 commit 8e226e8

File tree

6 files changed

+14
-7
lines changed

6 files changed

+14
-7
lines changed

.github/workflows/main.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,18 @@ on:
1212
schedule:
1313
- cron: "0 0 * * *"
1414

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: true
18+
1519
jobs:
1620
test:
1721
name: ${{ matrix.python-version }}-build
1822
runs-on: ubuntu-latest
1923
strategy:
2024
matrix:
21-
python-version: ["3.9", "3.10", "3.11"]
25+
python-version: ["3.9", "3.10", "3.11", "3.12"]
26+
fail-fast: false
2227
steps:
2328
- uses: actions/checkout@v4
2429
- name: Setup Python
@@ -40,7 +45,7 @@ jobs:
4045
pytest --verbose --cov=. --cov-report=xml
4146
- name: Upload coverage to Codecov
4247
uses: codecov/[email protected]
43-
if: ${{ matrix.python-version }} == 3.9
48+
if: ${{ matrix.python-version }} == 3.10
4449
with:
4550
file: ./coverage.xml
4651
fail_ci_if_error: false
@@ -50,7 +55,8 @@ jobs:
5055
runs-on: ubuntu-latest
5156
strategy:
5257
matrix:
53-
python-version: ["3.9", "3.10", "3.11"]
58+
python-version: ["3.9", "3.10", "3.11", "3.12"]
59+
fail-fast: false
5460
steps:
5561
- uses: actions/checkout@v4
5662
- name: Setup Python

.github/workflows/pypi-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- uses: actions/[email protected]
6666
name: Install Python
6767
with:
68-
python-version: 3.10
68+
python-version: 3.11
6969
- uses: actions/download-artifact@v4
7070
with:
7171
name: releases

ci/requirements/asv.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- nodefaults
55
dependencies:
66
# Required dependencies
7-
- python=3.9
7+
- python=3.10
88
- dask
99
- numpy
1010
- xarray

ci/requirements/doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- conda-forge
44
- nodefaults
55
dependencies:
6-
- python=3.9
6+
- python=3.10
77
- dask
88
- pydata-sphinx-theme
99
- ipython

ci/requirements/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- nodefaults
55
dependencies:
66
# Required dependencies
7-
- python=3.9
7+
- python=3.10
88
- dask
99
- numpy
1010
- xarray

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.9",
2323
"Programming Language :: Python :: 3.10",
2424
"Programming Language :: Python :: 3.11",
25+
"Programming Language :: Python :: 3.12",
2526
"Topic :: Scientific/Engineering",
2627
]
2728
dynamic = ["version"]

0 commit comments

Comments
 (0)