ci: provide a timeout to ensure logs are collected

This commit is contained in:
Erik Sundell
2021-10-18 04:45:33 +02:00
parent fe8ba1596d
commit 5b820bc855
2 changed files with 5 additions and 1 deletions

View File

@@ -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

View File

@@ -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