Skip to content

Commit dfd2fb9

Browse files
committed
[Core] set parallel test and timeout for e2e autotest
1 parent 2ed7a7b commit dfd2fb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/autotest_e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
shell: bash
3434
run: |
3535
python3 -m pip install --upgrade pip
36-
pip install pytest
36+
pip install pytest pytest-xdist pytest-timeout
3737
- name: Run tests
3838
shell: bash
3939
run: |
40-
pytest -v --tb=short preppipe-tests/
40+
pytest -n $(nproc) --timeout=300 -v --tb=short preppipe-tests/

0 commit comments

Comments
 (0)