mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
test refactor: slim down workflow for readability
This commit is contained in:
10
.github/workflows/integration-test.yaml
vendored
10
.github/workflows/integration-test.yaml
vendored
@@ -59,16 +59,12 @@ jobs:
|
||||
with:
|
||||
python-version: "3.10"
|
||||
|
||||
- name: Install pytest
|
||||
run: python3 -m pip install pytest
|
||||
- name: Install integration-tests/requirements.txt
|
||||
run: pip install -r integration-tests/requirements.txt
|
||||
|
||||
# We abort pytest after two failures as a compromise between wanting to
|
||||
# avoid a flood of logs while still understanding if multiple tests would
|
||||
# fail.
|
||||
- name: Run bootstrap tests (Runs in/Builds ${{ matrix.distro_image }} derived image)
|
||||
run: |
|
||||
pytest --verbose --maxfail=2 --color=yes --durations=10 --capture=no \
|
||||
integration-tests/test_bootstrap.py
|
||||
pytest --capture=no integration-tests/test_bootstrap.py
|
||||
timeout-minutes: 20
|
||||
env:
|
||||
# integration-tests/test_bootstrap.py will build and start containers
|
||||
|
||||
Reference in New Issue
Block a user