Skip to content

Commit 695ddcc

Browse files
committed
MAINT: replace test for Python 3.8 by 3.13 and modernize CI setup
1 parent 18daccf commit 695ddcc

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,13 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v3
13-
- name: Install Python
14-
uses: actions/setup-python@v4
12+
- uses: actions/checkout@v5
13+
- name: Install & run Ruff
14+
uses: astral-sh/ruff-action@v3
1515
with:
16-
python-version: "3.11"
17-
18-
# Pin ruff version to make sure we do not break our builds at the worst times
19-
- name: Install Ruff 0.5.1
20-
run: pip install ruff==0.5.1
21-
22-
# Include `--output-format=github` to enable automatic inline annotations.
23-
- name: Run Ruff
24-
run: ruff check --output-format=github .
16+
# Pin ruff version to make sure we do not break our builds at the
17+
# worst times
18+
version: "0.14.0"
2519

2620
test:
2721
# name: Test (${{ matrix.python-version }}, ${{ matrix.os }})
@@ -33,16 +27,16 @@ jobs:
3327
fail-fast: false
3428
matrix:
3529
# os: ["ubuntu-latest", "macos-latest", "windows-latest"]
36-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
30+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
3731

3832
defaults:
3933
run:
4034
shell: bash -l {0}
4135

4236
steps:
43-
- uses: actions/checkout@v3
37+
- uses: actions/checkout@v5
4438
- name: Set up Python ${{ matrix.python-version }}
45-
uses: conda-incubator/setup-miniconda@v2
39+
uses: conda-incubator/setup-miniconda@v3
4640
with:
4741
auto-update-conda: true
4842
environment-file: environment.yml

0 commit comments

Comments
 (0)