Unverified Commit bcfc8343 authored by Cunxiao Ni's avatar Cunxiao Ni Committed by GitHub
Browse files

[CI]Adds pytest timeout to CI (#792)

* [CI]Adds pytest timeout to CI

Adds a timeout to pytest runs in CI to prevent jobs from hanging indefinitely.
This also adds `pytest-timeout` to the test requirements.

* fix lint
parent 9d7d45be
......@@ -115,4 +115,4 @@ jobs:
source "${{ runner.tool_cache }}/${{ env.VENV_DIR }}/bin/activate"
cd testing/python/amd
unset PYTHONPATH
python -m pytest -v test_tilelang_test_amd.py --durations=0
\ No newline at end of file
python -m pytest -v test_tilelang_test_amd.py --durations=0 --timeout=3600
\ No newline at end of file
......@@ -118,4 +118,4 @@ jobs:
source "${{ runner.tool_cache }}/${{ env.VENV_DIR }}/bin/activate"
cd testing/python
unset PYTHONPATH
python -m pytest -n 4 -v -r fE --durations=0
python -m pytest -n 4 -v -r fE --durations=0 --timeout=3600
......@@ -13,6 +13,7 @@ numpy>=1.23.5
pytest>=6.2.4
pytest_xdist>=2.2.1
pytest-durations
pytest-timeout
packaging>=21.0
PyYAML
tqdm>=4.62.3
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment