Skip to content

Commit e5a89a1

Browse files
committed
ci: exit on first test failure
1 parent e7b612a commit e5a89a1

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
8888
- name: Run Python tests
8989
run: |
90-
pytest -v tests/ -k 'not kubernetes'
90+
pytest -vx tests/ -k 'not kubernetes'
9191
9292
- name: Install Go test requirements
9393
run: |
@@ -215,7 +215,7 @@ jobs:
215215
run: |
216216
TEST_DASK_GATEWAY_KUBE=true \
217217
TEST_DASK_GATEWAY_KUBE_ADDRESS=http://localhost:30200/services/dask-gateway/ \
218-
pytest -v tests/kubernetes
218+
pytest -vx tests/kubernetes
219219
220220
# ref: https://github.com/jupyterhub/action-k8s-namespace-report
221221
- name: Kubernetes namespace report

continuous_integration/docker/hadoop/_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -xe
33

44
cd /working
5-
pytest -v \
5+
pytest -vx \
66
tests/test_yarn_backend.py \
77
tests/test_auth.py \
88
-k "yarn or kerberos"

continuous_integration/docker/pbs/_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
set -xe
33

44
cd /working
5-
pytest -v tests/test_pbs_backend.py
5+
pytest -vx tests/test_pbs_backend.py

continuous_integration/docker/slurm/_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
set -xe
33

44
cd /working
5-
pytest -v tests/test_slurm_backend.py
5+
pytest -vx tests/test_slurm_backend.py

0 commit comments

Comments
 (0)