mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
ci: provide a timeout to ensure logs are collected
This commit is contained in:
4
.github/workflows/integration-test.yaml
vendored
4
.github/workflows/integration-test.yaml
vendored
@@ -119,6 +119,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pytest --verbose --maxfail=2 --color=yes --durations=10 --capture=no \
|
pytest --verbose --maxfail=2 --color=yes --durations=10 --capture=no \
|
||||||
integration-tests/test_bootstrap.py
|
integration-tests/test_bootstrap.py
|
||||||
|
timeout-minutes: 15
|
||||||
|
|
||||||
- name: Run basic tests
|
- name: Run basic tests
|
||||||
run: |
|
run: |
|
||||||
@@ -129,6 +130,7 @@ jobs:
|
|||||||
test_proxy.py \
|
test_proxy.py \
|
||||||
test_install.py \
|
test_install.py \
|
||||||
test_extensions.py
|
test_extensions.py
|
||||||
|
timeout-minutes: 15
|
||||||
|
|
||||||
- name: Run admin tests
|
- name: Run admin tests
|
||||||
run: |
|
run: |
|
||||||
@@ -137,6 +139,7 @@ jobs:
|
|||||||
--bootstrap-pip-spec "$BOOTSTRAP_PIP_SPEC" \
|
--bootstrap-pip-spec "$BOOTSTRAP_PIP_SPEC" \
|
||||||
${{ matrix.extra_flags }} \
|
${{ matrix.extra_flags }} \
|
||||||
test_admin_installer.py
|
test_admin_installer.py
|
||||||
|
timeout-minutes: 15
|
||||||
|
|
||||||
- name: Run plugin tests
|
- name: Run plugin tests
|
||||||
run: |
|
run: |
|
||||||
@@ -145,3 +148,4 @@ jobs:
|
|||||||
--installer-args "--plugin /srv/src/integration-tests/plugins/simplest" \
|
--installer-args "--plugin /srv/src/integration-tests/plugins/simplest" \
|
||||||
${{ matrix.extra_flags }} \
|
${{ matrix.extra_flags }} \
|
||||||
test_simplest_plugin.py
|
test_simplest_plugin.py
|
||||||
|
timeout-minutes: 15
|
||||||
|
|||||||
2
.github/workflows/unit-test.yaml
vendored
2
.github/workflows/unit-test.yaml
vendored
@@ -60,7 +60,6 @@ jobs:
|
|||||||
python-version: ${{ matrix.python_version }}
|
python-version: ${{ matrix.python_version }}
|
||||||
|
|
||||||
- name: Install venv, git and setup venv
|
- name: Install venv, git and setup venv
|
||||||
timeout-minutes: 2
|
|
||||||
run: |
|
run: |
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
apt-get update
|
apt-get update
|
||||||
@@ -95,6 +94,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: pytest --verbose --maxfail=2 --color=yes --durations=10 --cov=tljh tests/
|
run: pytest --verbose --maxfail=2 --color=yes --durations=10 --cov=tljh tests/
|
||||||
|
timeout-minutes: 15
|
||||||
|
|
||||||
- name: Upload code coverage stats
|
- name: Upload code coverage stats
|
||||||
run: codecov
|
run: codecov
|
||||||
|
|||||||
Reference in New Issue
Block a user