Skip to content

Commit 8917f5c

Browse files
authored
Fix CI for Python 3.12 (#411)
1 parent 7ae5948 commit 8917f5c

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ jobs:
3030
- uses: actions/checkout@v2
3131
with:
3232
fetch-depth: 0
33-
33+
3434
- name: setup python
3535
uses: actions/setup-python@v2
3636
with:
37-
python-version: '3.9'
38-
37+
python-version: '3.12'
38+
3939
- name: Install Requirements [${{ matrix.toxenv }}]
4040
run: pip install tox
41-
41+
4242
- name: Tox-${{ matrix.toxenv }}
4343
run: tox
4444
# This workflow contains a single job called "build"
@@ -51,6 +51,8 @@ jobs:
5151
- py38
5252
- py39
5353
- py310
54+
- py311
55+
- py312
5456
include:
5557
- toxenv: py38
5658
python-version: '3.8'
@@ -73,18 +75,18 @@ jobs:
7375
- uses: actions/checkout@v2
7476
with:
7577
fetch-depth: 2
76-
78+
7779
- name: setup python
7880
uses: actions/setup-python@v2
7981
with:
8082
python-version: ${{ matrix.python-version }}
81-
83+
8284
- name: Install Requirements [Python-${{ matrix.python-version }}]
8385
run: pip install tox
84-
86+
8587
- name: Tox-${{ matrix.toxenv }}
8688
run: tox
87-
89+
8890
- name: Upload coverage to Codecov
8991
# see https://github.com/codecov/codecov-action/blob/master/README.md
9092
uses: codecov/codecov-action@v2

0 commit comments

Comments
 (0)