Skip to content

Commit aff08d2

Browse files
committed
Update CI actions
- update Python used for sphinx build, coverage, testing - update version of actions used.
1 parent 92f6199 commit aff08d2

3 files changed

Lines changed: 13 additions & 12 deletions

File tree

.github/workflows/master.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,16 @@ jobs:
1717
strategy:
1818
matrix:
1919
os: [windows-latest, ubuntu-22.04, macos-latest]
20-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
20+
# https://devguide.python.org/versions/
21+
python-version: ["3.10", "3.11", "3.12", "3.13"]
2122
exclude:
2223
- os: windows-latest
2324
python-version: "3.11"
2425
- os: windows-latest
2526
python-version: "3.12"
2627

2728
steps:
28-
- uses: actions/checkout@v2
29+
- uses: actions/checkout@v4
2930
- name: Set up Python ${{ matrix.python-version }}
3031
uses: actions/setup-python@v5
3132
with:
@@ -36,7 +37,7 @@ jobs:
3637
pip install .[dev]
3738
- name: Test with pytest
3839
env:
39-
MPLBACKEND: TkAgg
40+
MPLBACKEND: Agg
4041
run: |
4142
pytest -s --ignore=W605 --timeout=50 --timeout_method=thread
4243
@@ -46,11 +47,11 @@ jobs:
4647
needs: unittest
4748
runs-on: ubuntu-22.04
4849
steps:
49-
- uses: actions/checkout@v2
50-
- name: Set up Python 3.8
50+
- uses: actions/checkout@v4
51+
- name: Set up Python 3.12
5152
uses: actions/setup-python@v5
5253
with:
53-
python-version: 3.8
54+
python-version: 3.12
5455
- name: Install dependencies
5556
run: |
5657
python -m pip install --upgrade pip
@@ -61,7 +62,7 @@ jobs:
6162
coverage report
6263
coverage xml
6364
- name: upload coverage to Codecov
64-
uses: codecov/codecov-action@v3
65+
uses: codecov/codecov-action@v5
6566
with:
6667
file: ./coverage.xml
6768
sphinx:

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
max-parallel: 2
1717
matrix:
1818
os: [ubuntu-22.04]
19-
python-version: [3.8]
19+
python-version: [3.12]
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2323
- name: Set up Python
2424
uses: actions/setup-python@v5
2525
with:

.github/workflows/sphinx.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
runs-on: ubuntu-22.04
99
if: ${{ github.event_name != 'pull_request' }}
1010
steps:
11-
- uses: actions/checkout@v2
12-
- name: Set up Python 3.8
11+
- uses: actions/checkout@v4
12+
- name: Set up Python 3.12
1313
uses: actions/setup-python@v5
1414
with:
15-
python-version: 3.8
15+
python-version: 3.12
1616
- name: Install dependencies
1717
run: |
1818
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)