Skip to content

Commit 7d1804a

Browse files
Switch to newer Python and test 3 latest versions we will support upon PR to main.
1 parent 5978780 commit 7d1804a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/python.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
name: Tests
22

3-
on: [push]
3+
on:
4+
push:
5+
pull_request:
46

57
jobs:
68
build:
7-
89
runs-on: ubuntu-latest
910
strategy:
1011
matrix:
11-
python-version: [3.11]
12+
python-version: ${{ github.ref == 'refs/heads/main' && '3.11,3.12,3.13' || '3.13' }}
1213

1314
steps:
1415
- uses: actions/checkout@v2.3.1

0 commit comments

Comments
 (0)