mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
When using "try-<platform>" trigger unit tests
There is currently no way to trigger unit tests using the bors-servo try infrastructure. This change makes it so that using try-<platform> triggers unit tests for that platform. This will be especially useful when testing changes for Windows before trying to land them.
This commit is contained in:
parent
66abb1dfc4
commit
69c830a6e0
3 changed files with 3 additions and 3 deletions
2
.github/workflows/mac.yml
vendored
2
.github/workflows/mac.yml
vendored
|
@ -66,7 +66,7 @@ jobs:
|
|||
- name: Script tests
|
||||
run: ./mach test-scripts
|
||||
- name: Unit tests
|
||||
if: ${{ inputs.unit-tests }}
|
||||
if: ${{ inputs.unit-tests || github.ref_name == 'try-mac' }}
|
||||
run: python3 ./mach test-unit --release --with-${{ env.LAYOUT }}
|
||||
- name: Package
|
||||
run: python3 ./mach package --release
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue