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: |
|
||||
pytest --verbose --maxfail=2 --color=yes --durations=10 --capture=no \
|
||||
integration-tests/test_bootstrap.py
|
||||
timeout-minutes: 15
|
||||
|
||||
- name: Run basic tests
|
||||
run: |
|
||||
@@ -129,6 +130,7 @@ jobs:
|
||||
test_proxy.py \
|
||||
test_install.py \
|
||||
test_extensions.py
|
||||
timeout-minutes: 15
|
||||
|
||||
- name: Run admin tests
|
||||
run: |
|
||||
@@ -137,6 +139,7 @@ jobs:
|
||||
--bootstrap-pip-spec "$BOOTSTRAP_PIP_SPEC" \
|
||||
${{ matrix.extra_flags }} \
|
||||
test_admin_installer.py
|
||||
timeout-minutes: 15
|
||||
|
||||
- name: Run plugin tests
|
||||
run: |
|
||||
@@ -145,3 +148,4 @@ jobs:
|
||||
--installer-args "--plugin /srv/src/integration-tests/plugins/simplest" \
|
||||
${{ matrix.extra_flags }} \
|
||||
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 }}
|
||||
|
||||
- name: Install venv, git and setup venv
|
||||
timeout-minutes: 2
|
||||
run: |
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get update
|
||||
@@ -95,6 +94,7 @@ jobs:
|
||||
|
||||
- name: Run unit tests
|
||||
run: pytest --verbose --maxfail=2 --color=yes --durations=10 --cov=tljh tests/
|
||||
timeout-minutes: 15
|
||||
|
||||
- name: Upload code coverage stats
|
||||
run: codecov
|
||||
|
||||
Reference in New Issue
Block a user