Skip to content

Commit e29dc1c

Browse files
committed
Add Python 3.12 to CI
1 parent 3764029 commit e29dc1c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
- run: git diff --exit-code
9292

9393
tests-unix:
94-
name: tests / ${{ matrix.python }} / ${{ matrix.os }}
94+
name: tests / ${{ matrix.python.key || matrix.python }} / ${{ matrix.os }}
9595
runs-on: ${{ matrix.os }}-latest
9696

9797
needs: [packaging, determine-changes]
@@ -109,12 +109,14 @@ jobs:
109109
- "3.9"
110110
- "3.10"
111111
- "3.11"
112+
- key: "3.12"
113+
full: "3.12.0-beta.3"
112114

113115
steps:
114116
- uses: actions/checkout@v3
115117
- uses: actions/setup-python@v4
116118
with:
117-
python-version: ${{ matrix.python }}
119+
python-version: ${{ matrix.python.full || matrix.python }}
118120

119121
- name: Install Ubuntu dependencies
120122
if: matrix.os == 'Ubuntu'
@@ -129,12 +131,12 @@ jobs:
129131
# Main check
130132
- name: Run unit tests
131133
run: >-
132-
nox -s test-${{ matrix.python }} --
134+
nox -s test-${{ matrix.python.key || matrix.python }} --
133135
-m unit
134136
--verbose --numprocesses auto --showlocals
135137
- name: Run integration tests
136138
run: >-
137-
nox -s test-${{ matrix.python }} --
139+
nox -s test-${{ matrix.python.key || matrix.python }} --
138140
-m integration
139141
--verbose --numprocesses auto --showlocals
140142
--durations=5

0 commit comments

Comments
 (0)