Skip to content

Commit 3e48d19

Browse files
authored
Test Python 3.12 pre-releases (#83)
1 parent 30942cf commit 3e48d19

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,12 @@ env:
77

88
jobs:
99
test:
10+
runs-on: ${{ matrix.os }}
1011
strategy:
1112
fail-fast: false
1213
matrix:
13-
python:
14-
- 3.7
15-
- 3.8
16-
- 3.9
17-
- "3.10"
18-
- "3.11"
19-
- "3.12-dev"
20-
platform:
21-
- ubuntu-latest
22-
- macos-latest
23-
- windows-latest
24-
runs-on: ${{ matrix.platform }}
14+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
15+
os: [windows-latest, macos-latest, ubuntu-latest]
2516
steps:
2617
- uses: actions/checkout@v3
2718
with:
@@ -31,7 +22,8 @@ jobs:
3122
- name: Set up Python ${{ matrix.python-version }}
3223
uses: actions/setup-python@v4
3324
with:
34-
python-version: ${{ matrix.python }}
25+
python-version: ${{ matrix.python-version }}
26+
allow-prereleases: true
3527
cache: pip
3628
cache-dependency-path: pyproject.toml
3729
- name: Install tox
@@ -55,7 +47,7 @@ jobs:
5547
- name: Setup Python
5648
uses: actions/setup-python@v4
5749
with:
58-
python-version: "3.10"
50+
python-version: "3.x"
5951
cache: pip
6052
cache-dependency-path: .github/workflows/main.yml
6153
- name: Install tools

0 commit comments

Comments
 (0)