Skip to content

Commit

Permalink
Merge pull request #244 from consideRatio/pr/github-workflows-refresh
Browse files Browse the repository at this point in the history
ci: test jupyterhub 5 and python 3.12, refresh github workflows
  • Loading branch information
consideRatio authored Sep 12, 2024
2 parents f970e9f + aa75ebe commit 37b9e42
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- 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
25 changes: 15 additions & 10 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,27 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
include:
- python-version: "3.8"
pip-install-spec: "jupyterhub==2.3.1 sqlalchemy==1.*"
- python-version: "3.9"
pip-install-spec: "jupyterhub==3.*"
- python-version: "3.10"
pip-install-spec: "jupyterhub==4.*"
- python-version: "3.11"
pip-install-spec: "jupyterhub==5.*"
- python-version: "3.12"
pip-install-spec: "jupyterhub"

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"

- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install ${{ matrix.pip-install-spec }}
pip install -e ".[test]"
- name: List packages
Expand All @@ -60,4 +65,4 @@ jobs:
pytest --cov=ldapauthenticator
# GitHub action reference: https://github.com/codecov/codecov-action
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4

0 comments on commit 37b9e42

Please sign in to comment.