mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Fix wpt-sync-from-upstream boolean (#30925)
This commit is contained in:
parent
554b35b705
commit
3ce590bec4
1 changed files with 8 additions and 7 deletions
15
.github/workflows/linux-wpt.yml
vendored
15
.github/workflows/linux-wpt.yml
vendored
|
@ -10,6 +10,7 @@ on:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
wpt-sync-from-upstream:
|
wpt-sync-from-upstream:
|
||||||
|
default: false
|
||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
wpt-layout:
|
wpt-layout:
|
||||||
|
@ -67,11 +68,11 @@ jobs:
|
||||||
sudo apt install ./libffi6_3.2.1-8_amd64.deb
|
sudo apt install ./libffi6_3.2.1-8_amd64.deb
|
||||||
python3 ./mach bootstrap-gstreamer
|
python3 ./mach bootstrap-gstreamer
|
||||||
- name: Sync from upstream WPT
|
- name: Sync from upstream WPT
|
||||||
if: ${{ inputs.wpt-sync-from-upstream == 'true' }}
|
if: ${{ inputs.wpt-sync-from-upstream }}
|
||||||
run: |
|
run: |
|
||||||
./mach update-wpt --sync --patch
|
./mach update-wpt --sync --patch
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
if: ${{ inputs.wpt-sync-from-upstream != 'true' }}
|
if: ${{ !inputs.wpt-sync-from-upstream }}
|
||||||
run: |
|
run: |
|
||||||
python3 ./mach test-wpt $WPT_COMMAND_LINE_ARG ${{ inputs.wpt-tests-to-run }} \
|
python3 ./mach test-wpt $WPT_COMMAND_LINE_ARG ${{ inputs.wpt-tests-to-run }} \
|
||||||
--${{ inputs.profile }} --processes $(nproc) --timeout-multiplier 2 \
|
--${{ inputs.profile }} --processes $(nproc) --timeout-multiplier 2 \
|
||||||
|
@ -83,7 +84,7 @@ jobs:
|
||||||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||||
INTERMITTENT_TRACKER_DASHBOARD_SECRET: ${{ secrets.INTERMITTENT_TRACKER_DASHBOARD_SECRET }}
|
INTERMITTENT_TRACKER_DASHBOARD_SECRET: ${{ secrets.INTERMITTENT_TRACKER_DASHBOARD_SECRET }}
|
||||||
- name: Run tests (sync)
|
- name: Run tests (sync)
|
||||||
if: ${{ inputs.wpt-sync-from-upstream == 'true' }}
|
if: ${{ inputs.wpt-sync-from-upstream }}
|
||||||
run: |
|
run: |
|
||||||
python3 ./mach test-wpt $WPT_COMMAND_LINE_ARG \
|
python3 ./mach test-wpt $WPT_COMMAND_LINE_ARG \
|
||||||
--${{ inputs.profile }} --processes $(nproc) --timeout-multiplier 2 \
|
--${{ inputs.profile }} --processes $(nproc) --timeout-multiplier 2 \
|
||||||
|
@ -92,7 +93,7 @@ jobs:
|
||||||
--always-succeed
|
--always-succeed
|
||||||
- name: Archive filtered results
|
- name: Archive filtered results
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
if: ${{ always() && inputs.wpt-sync-from-upstream != 'true' }}
|
if: ${{ always() && !inputs.wpt-sync-from-upstream }}
|
||||||
with:
|
with:
|
||||||
name: wpt-filtered-results-linux-${{ inputs.wpt-layout }}
|
name: wpt-filtered-results-linux-${{ inputs.wpt-layout }}
|
||||||
path: |
|
path: |
|
||||||
|
@ -100,14 +101,14 @@ jobs:
|
||||||
unexpected-test-wpt.${{ matrix.chunk_id }}.log
|
unexpected-test-wpt.${{ matrix.chunk_id }}.log
|
||||||
- name: Archive logs
|
- name: Archive logs
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
if: ${{ failure() && inputs.wpt-sync-from-upstream != 'true' }}
|
if: ${{ failure() && !inputs.wpt-sync-from-upstream }}
|
||||||
with:
|
with:
|
||||||
name: wpt-logs-linux-${{ inputs.wpt-layout }}
|
name: wpt-logs-linux-${{ inputs.wpt-layout }}
|
||||||
path: |
|
path: |
|
||||||
test-wpt.${{ matrix.chunk_id }}.log
|
test-wpt.${{ matrix.chunk_id }}.log
|
||||||
- name: Archive logs
|
- name: Archive logs
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
if: ${{ inputs.wpt-sync-from-upstream == 'true' }}
|
if: ${{ inputs.wpt-sync-from-upstream }}
|
||||||
with:
|
with:
|
||||||
name: wpt-logs-linux-${{ inputs.wpt-layout }}
|
name: wpt-logs-linux-${{ inputs.wpt-layout }}
|
||||||
path: |
|
path: |
|
||||||
|
@ -117,7 +118,7 @@ jobs:
|
||||||
report-test-results:
|
report-test-results:
|
||||||
name: Report WPT Results
|
name: Report WPT Results
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ always() && !cancelled() && inputs.wpt-sync-from-upstream != 'true' }}
|
if: ${{ always() && !cancelled() && !inputs.wpt-sync-from-upstream }}
|
||||||
needs:
|
needs:
|
||||||
- "linux-wpt"
|
- "linux-wpt"
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue