From df5e6c372e6fc92a0165089de87c56ba1d1b1667 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Thu, 12 Sep 2024 12:27:45 +0200 Subject: [PATCH 1/2] ci: update github actions --- .github/workflows/release.yaml | 6 +++--- .github/workflows/test.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ec75e6b..69fb732 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: | diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 97fee9b..3040f49 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -39,8 +39,8 @@ jobs: - "3.11" 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 }}" @@ -60,4 +60,4 @@ jobs: pytest --cov=ldapauthenticator # GitHub action reference: https://github.com/codecov/codecov-action - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 From aa75ebe833f9cc8e6a7efefa03d8f0e75fa8553b Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Thu, 12 Sep 2024 12:28:55 +0200 Subject: [PATCH 2/2] ci: update test matrix --- .github/workflows/test.yaml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3040f49..1d4b790 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -31,12 +31,17 @@ 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@v4 @@ -46,7 +51,7 @@ jobs: - name: Install Python dependencies run: | - pip install --upgrade pip + pip install ${{ matrix.pip-install-spec }} pip install -e ".[test]" - name: List packages