Fix test hang issue (#1406)

* Add try except to resource.setrlimit

* Set time limit only in main thread

* Check only test model

* Pytest debug

* Test separately

* Move test_model.py to automl folder
This commit is contained in:
Li Jiang
2025-02-13 19:50:35 +08:00
committed by GitHub
parent 6d53929803
commit d8b7d25b80
3 changed files with 12 additions and 6 deletions

View File

@@ -85,7 +85,7 @@ jobs:
- name: Test with pytest
if: matrix.python-version != '3.10'
run: |
pytest test
pytest test/
- name: Coverage
if: matrix.python-version == '3.10'
run: |