Skip to content

Commit d88691f

Browse files
authored
Merge pull request #65 from consideRatio/pr/test-jh5
ci: test against jupyterhub 5 and refresh workflows
2 parents 5737460 + 61a6f62 commit d88691f

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ on:
2323

2424
jobs:
2525
build-release:
26-
runs-on: ubuntu-22.04
26+
runs-on: ubuntu-latest
2727
permissions:
2828
# id-token=write is required for pypa/gh-action-pypi-publish, and the PyPI
2929
# project needs to be configured to trust this workflow.
@@ -36,7 +36,7 @@ jobs:
3636
- uses: actions/checkout@v4
3737
- uses: actions/setup-python@v5
3838
with:
39-
python-version: "3.11"
39+
python-version: "3.12"
4040

4141
- name: install build package
4242
run: |

.github/workflows/test.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424

2525
jobs:
2626
test:
27-
runs-on: ubuntu-22.04
27+
runs-on: "${{ matrix.runs-on || 'ubuntu-latest' }}"
2828

2929
strategy:
3030
fail-fast: false
@@ -33,12 +33,15 @@ jobs:
3333
# oldest supported python and jupyterhub version
3434
- python-version: "3.8"
3535
pip-install-spec: "jupyterhub==2.3.0 sqlalchemy==1.*"
36+
runs-on: ubuntu-22.04
3637
- python-version: "3.9"
3738
pip-install-spec: "jupyterhub==2.* sqlalchemy==1.*"
3839
- python-version: "3.10"
3940
pip-install-spec: "jupyterhub==3.*"
4041
- python-version: "3.11"
4142
pip-install-spec: "jupyterhub==4.*"
43+
- python-version: "3.12"
44+
pip-install-spec: "jupyterhub==5.*"
4245

4346
# latest version of python and jupyterhub (including pre-releases)
4447
- python-version: "3.x"
@@ -48,7 +51,7 @@ jobs:
4851
- uses: actions/checkout@v4
4952
- uses: actions/setup-node@v4
5053
with:
51-
node-version: "18"
54+
node-version: "lts/*"
5255
- uses: actions/setup-python@v5
5356
with:
5457
python-version: "${{ matrix.python-version }}"

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ target_version = [
1919
"py39",
2020
"py310",
2121
"py311",
22+
"py312",
2223
]
2324

2425

0 commit comments

Comments
 (0)