mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Unit tests are becoming more flaky, so retry them (#30682)
* Unit tests are becoming more flaky, so retry them * Timeouts everywhere * Limit windows test threads for unit tests
This commit is contained in:
parent
f5627ce4cc
commit
c2af95d2fc
3 changed files with 15 additions and 4 deletions
7
.github/workflows/mac.yml
vendored
7
.github/workflows/mac.yml
vendored
|
@ -93,8 +93,11 @@ jobs:
|
|||
run: ./mach test-scripts
|
||||
- name: Unit tests
|
||||
if: ${{ inputs.unit-tests || github.ref_name == 'try-mac' }}
|
||||
timeout-minutes: 30 # https://github.com/servo/servo/issues/30275
|
||||
run: python3 ./mach test-unit ${{ env.cargo_profile_option }}
|
||||
uses: nick-fields/retry@v2
|
||||
with:
|
||||
timeout_minutes: 20 # https://github.com/servo/servo/issues/30275
|
||||
max_attempts: 3 # https://github.com/servo/servo/issues/30683
|
||||
command: python3 ./mach test-unit ${{ env.cargo_profile_option }}
|
||||
- name: Build mach package
|
||||
run: python3 ./mach package ${{ env.cargo_profile_option }}
|
||||
- name: Run smoketest for mach package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue