mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
ci: use pytest flags --color --exit-first --verbose
This commit is contained in:
2
.github/workflows/integration-test.yaml
vendored
2
.github/workflows/integration-test.yaml
vendored
@@ -23,7 +23,7 @@ jobs:
|
||||
- name: Run bootstrap checks
|
||||
run: |
|
||||
python3 -m pip install pytest
|
||||
pytest integration-tests/test_bootstrap.py -s
|
||||
pytest --verbose --maxfail=2 --color=yes --capture=no integration-tests/test_bootstrap.py
|
||||
|
||||
- name: Run basic tests
|
||||
run: |
|
||||
|
||||
2
.github/workflows/unit-test.yaml
vendored
2
.github/workflows/unit-test.yaml
vendored
@@ -34,7 +34,7 @@ jobs:
|
||||
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
pytest --cov=tljh tests/
|
||||
pytest --verbose --maxfail=2 --color=yes --cov=tljh tests/
|
||||
|
||||
- name: Upload code coverage stats
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user