Skip to content

Commit c9784cb

Browse files
authored
Merge pull request #60 from opengisch/bump_ci_deps
Bump CI dependencies
2 parents 183c898 + 8934cf1 commit c9784cb

File tree

3 files changed

+21
-28
lines changed

3 files changed

+21
-28
lines changed

.github/workflows/continuous_integration.yml

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ on:
1111
jobs:
1212
code_check:
1313
name: Code check
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-24.04
1515
steps:
1616

1717
- name: Checkout repo
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Setup Python
21-
uses: actions/setup-python@v4
21+
uses: actions/setup-python@v5
2222
with:
23-
python-version: 3.8
23+
python-version: 3.12
2424
cache: 'pip'
2525

2626
- name: Install formatter
@@ -30,17 +30,22 @@ jobs:
3030
run: python -m pre_commit run --all-files
3131

3232
unit_tests:
33-
name: Run unit tests
34-
runs-on: ubuntu-latest
33+
name: Run unit tests & build
34+
strategy:
35+
matrix:
36+
python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
37+
os: [ubuntu-latest]
38+
39+
runs-on: ${{ matrix.os }}
3540
steps:
3641

3742
- name: Checkout repo
38-
uses: actions/checkout@v3
43+
uses: actions/checkout@v4
3944

4045
- name: Setup Python
41-
uses: actions/setup-python@v4
46+
uses: actions/setup-python@v5
4247
with:
43-
python-version: 3.8
48+
python-version: ${{ matrix.python_version }}
4449
cache: 'pip'
4550

4651
- name: Install dependencies
@@ -49,20 +54,6 @@ jobs:
4954
- name: Run unit tests
5055
run: ENVIRONMENT=test python -m unittest discover
5156

52-
package_check:
53-
name: Package check
54-
runs-on: ubuntu-latest
55-
steps:
56-
57-
- name: Checkout repo
58-
uses: actions/checkout@v3
59-
60-
- name: Setup Python
61-
uses: actions/setup-python@v4
62-
with:
63-
python-version: 3.8
64-
cache: 'pip'
65-
6657
- name: Build tools
6758
run: pip install build
6859

.github/workflows/deploy_to_pypi.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ on:
77
jobs:
88
build-n-publish:
99
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-24.04
1111
steps:
12-
- uses: actions/checkout@master
13-
- name: Set up Python 3.9
14-
uses: actions/setup-python@v1
12+
- uses: actions/checkout@v4
13+
14+
- name: Set up Python
15+
uses: actions/setup-python@v5
1516
with:
16-
python-version: 3.9
17+
python-version: 3.12
1718

1819
- name: Get version number
1920
id: v

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ classifiers = [
2626
"Programming Language :: Python :: 3.9",
2727
"Programming Language :: Python :: 3.10",
2828
"Programming Language :: Python :: 3.11",
29+
"Programming Language :: Python :: 3.12",
2930
"Programming Language :: Python :: Implementation :: CPython",
3031
"Topic :: Scientific/Engineering :: GIS",
3132
]

0 commit comments

Comments
 (0)