Skip to content

Commit abac9fc

Browse files
committed
Add single check for all jobs and increase timeout
1 parent db8135d commit abac9fc

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/master.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,16 @@ jobs:
4040
env:
4141
MPLBACKEND: Agg
4242
run: |
43-
pytest -s --timeout=50 --timeout_method=thread
43+
pytest -s --timeout=1000 --timeout_method=thread
44+
45+
all-unittests-passed:
46+
needs: unittest
47+
if: always()
48+
runs-on: ubuntu-latest
49+
steps:
50+
- name: Check unittest status
51+
if: ${{ needs.test.result != 'success' }}
52+
run: exit 1
4453

4554
codecov:
4655
# If all tests pass:

0 commit comments

Comments
 (0)