mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
chore(ci): make parameter names more descriptive and less error-prone
This commit is contained in:
parent
9e71bd6a70
commit
f369f36ec4
1 changed files with 17 additions and 15 deletions
32
.github/workflows/main.yml
vendored
32
.github/workflows/main.yml
vendored
|
@ -128,7 +128,8 @@ jobs:
|
||||||
# runs-on: macos-10.15
|
# runs-on: macos-10.15
|
||||||
# strategy:
|
# strategy:
|
||||||
# matrix:
|
# matrix:
|
||||||
# i: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
|
# max_chunk_id: [20]
|
||||||
|
# chunk_id: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
|
||||||
# steps:
|
# steps:
|
||||||
# - uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
# with:
|
# with:
|
||||||
|
@ -156,7 +157,7 @@ jobs:
|
||||||
# run: |
|
# run: |
|
||||||
# python3 ./mach test-wpt \
|
# python3 ./mach test-wpt \
|
||||||
# --release --processes=3 --timeout-multiplier=8 \
|
# --release --processes=3 --timeout-multiplier=8 \
|
||||||
# --total-chunks=20 --this-chunk=${{ matrix.i }} \
|
# --total-chunks=${{ matrix.max_chunk_id }} --this-chunk=${{ matrix.chunk_id }} \
|
||||||
# --log-raw=test-wpt.log \
|
# --log-raw=test-wpt.log \
|
||||||
# --log-servojson=wpt-jsonsummary.log \
|
# --log-servojson=wpt-jsonsummary.log \
|
||||||
# --always-succeed | cat
|
# --always-succeed | cat
|
||||||
|
@ -168,7 +169,7 @@ jobs:
|
||||||
# - name: Archive logs
|
# - name: Archive logs
|
||||||
# uses: actions/upload-artifact@v2
|
# uses: actions/upload-artifact@v2
|
||||||
# with:
|
# with:
|
||||||
# name: wpt${{ matrix.i }}-logs-macos
|
# name: wpt${{ matrix.chunk_id }}-logs-macos
|
||||||
# path: |
|
# path: |
|
||||||
# test-wpt.log
|
# test-wpt.log
|
||||||
# wpt-jsonsummary.log
|
# wpt-jsonsummary.log
|
||||||
|
@ -207,7 +208,8 @@ jobs:
|
||||||
needs: ["build-linux"]
|
needs: ["build-linux"]
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
i: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
|
max_chunk_id: [20]
|
||||||
|
chunk_id: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
@ -230,23 +232,23 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python3 ./mach test-wpt \
|
python3 ./mach test-wpt \
|
||||||
--release --processes $(nproc) --timeout-multiplier 2 \
|
--release --processes $(nproc) --timeout-multiplier 2 \
|
||||||
--total-chunks 20 --this-chunk ${{ matrix.i }} \
|
--total-chunks ${{ matrix.max_chunk_id }} --this-chunk ${{ matrix.chunk_id }} \
|
||||||
--log-raw test-wpt.${{ matrix.i }}.log \
|
--log-raw test-wpt.${{ matrix.chunk_id }}.log \
|
||||||
--log-servojson wpt-jsonsummary.${{ matrix.i }}.log \
|
--log-servojson wpt-jsonsummary.${{ matrix.chunk_id }}.log \
|
||||||
--always-succeed
|
--always-succeed
|
||||||
python3 ./mach filter-intermittents wpt-jsonsummary.${{ matrix.i }}.log \
|
python3 ./mach filter-intermittents wpt-jsonsummary.${{ matrix.chunk_id }}.log \
|
||||||
--log-intermittents=intermittents.${{ matrix.i }}.log \
|
--log-intermittents=intermittents.${{ matrix.chunk_id }}.log \
|
||||||
--log-filteredsummary=filtered-wpt-summary.${{ matrix.i }}.log \
|
--log-filteredsummary=filtered-wpt-summary.${{ matrix.chunk_id }}.log \
|
||||||
--tracker-api=default --reporter-api=default
|
--tracker-api=default --reporter-api=default
|
||||||
- name: Archive logs
|
- name: Archive logs
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: wpt${{ matrix.i }}-logs-linux
|
name: wpt${{ matrix.chunk_id }}-logs-linux
|
||||||
path: |
|
path: |
|
||||||
test-wpt.${{ matrix.i }}.log
|
test-wpt.${{ matrix.chunk_id }}.log
|
||||||
wpt-jsonsummary.${{ matrix.i }}.log
|
wpt-jsonsummary.${{ matrix.chunk_id }}.log
|
||||||
filtered-wpt-summary.${{ matrix.i }}.log
|
filtered-wpt-summary.${{ matrix.chunk_id }}.log
|
||||||
intermittents.${{ matrix.i }}.log
|
intermittents.${{ matrix.chunk_id }}.log
|
||||||
|
|
||||||
build_result:
|
build_result:
|
||||||
name: homu build finished
|
name: homu build finished
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue