Skip to content

Commit 5316b0b

Browse files
authored
devops(tests): added timeout on tests on bots (microsoft#127)
1 parent ccac404 commit 5316b0b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- name: Install
7777
run: python -m playwright install
7878
- name: Test
79-
run: pytest -vv --browser=${{ matrix.browser }} --junitxml=junit/test-results-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.browser }}.xml --cov=playwright --cov=scripts --cov-report xml
79+
run: pytest -vv --browser=${{ matrix.browser }} --junitxml=junit/test-results-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.browser }}.xml --cov=playwright --cov=scripts --cov-report xml --timeout 30
8080
- name: Coveralls
8181
run: coveralls
8282
env:

local-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ pytest-asyncio==0.14.0
33
pytest-cov==2.10.0
44
pytest-sugar==0.9.4
55
pytest-xdist==1.33.0
6+
pytest-timeout==1.4.2
67
pixelmatch==0.2.1
78
Pillow==7.2.0
89
mypy==0.782

0 commit comments

Comments
 (0)