set total timeout for test
@@ -4,6 +4,7 @@ on: [push]
jobs:
test:
+ timeout-minutes: 10
runs-on: ${{ matrix.os }}
strategy:
matrix:
@@ -42,12 +43,12 @@ jobs:
adb devices
- name: Test with pytest
if: ${{ matrix.python-version != '3.9' }}
- timeout-minutes: 10
+ timeout-minutes: 9
run: |
python -m pytest -vvvsss test/
- name: Test with pytest and coverage
if: ${{ matrix.python-version == '3.9' }}
- timeout-minutes: 10
+ timeout-minutes: 9
run: |
coverage run -m pytest -vvvsss test/
- name: Validate coverage for moler commands
