Skip to content

Commit 11f0843

Browse files
authored
Tweak Python versions in CI (#90)
* CI: test on 3.11 and 3.12 as well * CI: pin Ubuntu version to fix Python 3.6 See actions/setup-python#544 * CI: remove 2.7 support to fix build See actions/setup-python#672 * Bump actions/setup-python to v5
1 parent 99a77b7 commit 11f0843

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ on:
1212
jobs:
1313
build:
1414

15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-20.04
1616
strategy:
1717
matrix:
18-
python-version: ['2.7', '3.6', '3.7', '3.8', '3.9', '3.10']
18+
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
1919

2020
steps:
2121
- uses: actions/checkout@v2
2222
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v2
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
- name: Install dependencies

0 commit comments

Comments
 (0)