Skip to content

Commit

Permalink
ci: test against py 3.10 and jupyterhub 2
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Oct 28, 2021
1 parent 5a09d34 commit 598a88f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This is a GitHub workflow defining a set of jobs with a set of steps.
# ref: https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions
# ref: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
#
# Publish to PyPI on push of version like tags
#
Expand Down
19 changes: 13 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This is a GitHub workflow defining a set of jobs with a set of steps.
# ref: https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions
# ref: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
#
name: Test

Expand Down Expand Up @@ -35,20 +35,27 @@ jobs:
fail-fast: false
matrix:
include:
- python-version: 3.6
- python-version: 3.7
- python-version: 3.8
- python-version: 3.9
- python-version: "3.6"
jupyterhub-version: "1.3.*"
- python-version: "3.7"
jupyterhub-version: "1.4.*"
- python-version: "3.8"
jupyterhub-version: "1.*"
- python-version: "3.9"
jupyterhub-version: "2.*"
- python-version: "3.10"
jupyterhub-version: "2.*"

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

- name: Install Python dependencies
run: |
pip install --no-cache-dir -r dev-requirements.txt
pip install --pre "jupyterhub==${{ matrix.jupyterhub-version }}"
pip install .
- name: Run tests
Expand Down
Empty file added .pre-commit-config.yaml
Empty file.

0 comments on commit 598a88f

Please sign in to comment.