Skip to content

Commit f09e21f

Browse files
[patch] added timeout
1 parent 159564b commit f09e21f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
cat ${GITHUB_WORKSPACE}/src/mas/devops/__init__.py
4747
python -m pip install --upgrade pip
4848
pip install .[dev]
49-
python -m pytest test/src -v --tb=short --maxfail=1 -x
49+
python -m pytest test/src -v --tb=short --maxfail=1 -x --timeout=300
5050
5151
- name: Lint with flake8
5252
run: |

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def get_version(rel_path):
7272
'flake8', # MIT License
7373
'pytest', # MIT License
7474
'pytest-mock', # MIT License
75+
'pytest-timeout', # MIT License
7576
'requests-mock', # Apache Software License
7677
'setuptools', # MIT License
7778
],

0 commit comments

Comments
 (0)