fix: add timeout for unit tests workflows (#2613)
fix: add timeout for unit tests and test CLI in Python workflow
This commit is contained in:
parent
7174e6ef7d
commit
34c1a4d469
2 changed files with 2 additions and 0 deletions
1
.github/workflows/python_test.yml
vendored
1
.github/workflows/python_test.yml
vendored
|
|
@ -39,6 +39,7 @@ jobs:
|
|||
poetry env use ${{ matrix.python-version }}
|
||||
poetry install
|
||||
- name: Run unit tests
|
||||
timeout-minutes: 12
|
||||
run: |
|
||||
make unit_tests
|
||||
- name: Test CLI
|
||||
|
|
|
|||
1
.github/workflows/typescript_test.yml
vendored
1
.github/workflows/typescript_test.yml
vendored
|
|
@ -110,6 +110,7 @@ jobs:
|
|||
cd src/frontend
|
||||
npx playwright test --trace on --shard ${{ matrix.shardIndex }}/${{ matrix.shardTotal }} --workers 2
|
||||
continue-on-error: true
|
||||
timeout-minutes: 12
|
||||
|
||||
# If the test fails, set a flag to indicate that the shard failed
|
||||
- name: Set failure flag
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue