Skip to content

Commit

Permalink
ci: test against jupyterhub 5 and refresh workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Sep 12, 2024
1 parent 5737460 commit 61a6f62
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:

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

- name: install build package
run: |
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:

jobs:
test:
runs-on: ubuntu-22.04
runs-on: "${{ matrix.runs-on || 'ubuntu-latest' }}"

strategy:
fail-fast: false
Expand All @@ -33,12 +33,15 @@ jobs:
# oldest supported python and jupyterhub version
- python-version: "3.8"
pip-install-spec: "jupyterhub==2.3.0 sqlalchemy==1.*"
runs-on: ubuntu-22.04
- python-version: "3.9"
pip-install-spec: "jupyterhub==2.* sqlalchemy==1.*"
- python-version: "3.10"
pip-install-spec: "jupyterhub==3.*"
- python-version: "3.11"
pip-install-spec: "jupyterhub==4.*"
- python-version: "3.12"
pip-install-spec: "jupyterhub==5.*"

# latest version of python and jupyterhub (including pre-releases)
- python-version: "3.x"
Expand All @@ -48,7 +51,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "lts/*"
- uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ target_version = [
"py39",
"py310",
"py311",
"py312",
]


Expand Down

0 comments on commit 61a6f62

Please sign in to comment.