diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10192a6..d5ca52c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: - name: Run isort run: isort --check . - name: Run tests and collect coverage - run: pytest --junitxml=junit/test-results.xml --cov=relay --cov=tests --cov-report=xml --cov-report=html + run: pytest --timeout=300 --junitxml=junit/test-results.xml --cov=relay --cov=tests --cov-report=xml --cov-report=html - name: Upload pytest test results uses: actions/upload-artifact@v3 with: diff --git a/tests/requirements.txt b/tests/requirements.txt index 57721e6..75b0d53 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -10,5 +10,6 @@ pytest>=6.2.5 pytest-cov>=2.7.1 pytest-helpers-namespace==2019.1.8 pytest-mock +pytest-timeout pytest-xdist responses