mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Merge pull request #817 from MridulS/test_2204
ci: run int. and unit tests on 22.04 LTS + py3.10
This commit is contained in:
19
.github/workflows/integration-test.yaml
vendored
19
.github/workflows/integration-test.yaml
vendored
@@ -66,22 +66,21 @@ jobs:
|
|||||||
ubuntu_version: "20.04"
|
ubuntu_version: "20.04"
|
||||||
python_version: "3.9"
|
python_version: "3.9"
|
||||||
extra_flags: ""
|
extra_flags: ""
|
||||||
- name: "Int. tests: Ubuntu 21.10, Py 3.9"
|
- name: "Int. tests: Ubuntu 22.04, Py 3.10"
|
||||||
runs_on: "20.04"
|
ubuntu_version: "22.04"
|
||||||
ubuntu_version: "21.10"
|
python_version: "3.10"
|
||||||
python_version: "3.9"
|
|
||||||
extra_flags: ""
|
extra_flags: ""
|
||||||
- name: "Int. tests: Ubuntu 20.04, Py 3.9, --upgrade"
|
- name: "Int. tests: Ubuntu 22.04, Py 3.10, --upgrade"
|
||||||
ubuntu_version: "20.04"
|
ubuntu_version: "22.04"
|
||||||
python_version: "3.9"
|
python_version: "3.10"
|
||||||
extra_flags: --upgrade
|
extra_flags: --upgrade
|
||||||
dont_run_on_ref: refs/heads/master
|
dont_run_on_ref: refs/heads/master
|
||||||
|
|
||||||
integration-tests:
|
integration-tests:
|
||||||
needs: decide-on-test-jobs-to-run
|
needs: decide-on-test-jobs-to-run
|
||||||
|
|
||||||
# runs-on can only be configured to the LTS releases of ubuntu (18.04,
|
# runs-on can only be configured to the LTS releases of ubuntu (20.04,
|
||||||
# 20.04, ...), so if we want to test against the latest non-LTS release, we
|
# 22.04, ...), so if we want to test against the latest non-LTS release, we
|
||||||
# must compromise when configuring runs-on and configure runs-on to be the
|
# must compromise when configuring runs-on and configure runs-on to be the
|
||||||
# latest LTS release instead.
|
# latest LTS release instead.
|
||||||
#
|
#
|
||||||
@@ -99,7 +98,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python_version }}
|
python-version: "${{ matrix.python_version }}"
|
||||||
|
|
||||||
- name: Install pytest
|
- name: Install pytest
|
||||||
run: python3 -m pip install pytest
|
run: python3 -m pip install pytest
|
||||||
|
|||||||
12
.github/workflows/unit-test.yaml
vendored
12
.github/workflows/unit-test.yaml
vendored
@@ -48,19 +48,15 @@ jobs:
|
|||||||
- name: "Unit tests: Ubuntu 20.04, Py 3.9"
|
- name: "Unit tests: Ubuntu 20.04, Py 3.9"
|
||||||
ubuntu_version: "20.04"
|
ubuntu_version: "20.04"
|
||||||
python_version: "3.9"
|
python_version: "3.9"
|
||||||
# Test against Ubuntu 21.10 fails as of 2021-10-18 fail with the error
|
- name: "Unit tests: Ubuntu 22.04, Py 3.10"
|
||||||
# described in: https://github.com/jupyterhub/the-littlest-jupyterhub/issues/714#issuecomment-945154101
|
ubuntu_version: "22.04"
|
||||||
#
|
python_version: "3.10"
|
||||||
# - name: "Unit tests: Ubuntu 21.10, Py 3.9"
|
|
||||||
# runs_on: "20.04"
|
|
||||||
# ubuntu_version: "21.10"
|
|
||||||
# python_version: "3.9"
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python_version }}
|
python-version: "${{ matrix.python_version }}"
|
||||||
|
|
||||||
- name: Install venv, git and setup venv
|
- name: Install venv, git and setup venv
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user