Skip to content

Commit 8b6a0d0

Browse files
Update Python versions for testing (MetOffice#392)
* Update Python versions for CI testing We were still testing with 3.7 and 3.8 which have gone end-of-line. We were also not testing with modern supported versions. Also specified which branches to run CI testing on.
1 parent fb6a094 commit 8b6a0d0

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: Build
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- v*.*
8+
pull_request:
9+
branches:
10+
- main
11+
- v*.*
412

513
jobs:
614
build:
@@ -9,7 +17,7 @@ jobs:
917
strategy:
1018
max-parallel: 4
1119
matrix:
12-
python-version: ['3.7', '3.8', '3.9', '3.10']
20+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1321

1422
steps:
1523
# Should this step use a cache?

0 commit comments

Comments
 (0)