Skip to content

Commit b5133c6

Browse files
authored
Test against Python 3.12 (#6999)
* Test against Python 3.12 * Only on `ubuntu-latest` for now * Fix typo * `allow-prereleases: true` * Fix `py_cmd` * Update build.yml * Try all platforms on 3.12
1 parent 48b25dd commit b5133c6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,14 @@ jobs:
118118
fail-fast: false
119119
matrix:
120120
os: [ubuntu-latest, macos-latest, windows-latest]
121-
python: ['3.8', '3.11']
121+
python: ['3.8', '3.11', '3.12']
122122
include:
123123
- python: '3.8'
124124
dist: 'notebook*.tar.gz'
125125
- python: '3.11'
126126
dist: 'notebook*.whl'
127+
- python: '3.12'
128+
dist: 'notebook*.whl'
127129
- os: windows-latest
128130
py_cmd: python
129131
- os: macos-latest
@@ -136,6 +138,7 @@ jobs:
136138
with:
137139
python-version: ${{ matrix.python }}
138140
architecture: 'x64'
141+
allow-prereleases: true
139142
- uses: actions/download-artifact@v3
140143
with:
141144
name: notebook-dist-${{ github.run_number }}

0 commit comments

Comments
 (0)