Skip to content

Commit c39b8f4

Browse files
committed
tools: run all daily undici WPTs regardless of their exitCode
1 parent ec3c7bc commit c39b8f4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/daily-wpt-fyi.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,10 @@ jobs:
111111
rm -rf test/wpt/tests
112112
mv ../../test/fixtures/wpt/ test/wpt/tests/
113113
npm install
114-
npm run test:wpt || true
114+
jq -rc '.scripts["test:wpt"] | split(" && ")[]' package.json | while read -r i; do
115+
i="${i//node /}"
116+
node "$i" || true
117+
done
115118
working-directory: deps/undici
116119

117120
# Upload artifacts
@@ -137,7 +140,7 @@ jobs:
137140
echo "## Node.js ${{ steps.setup-node.outputs.node-version }}" >> $GITHUB_STEP_SUMMARY
138141
echo "" >> $GITHUB_STEP_SUMMARY
139142
echo "WPT Revision: [\`${WPT_REVISION:0:7}\`](https://github.com/web-platform-tests/wpt/commits/$WPT_REVISION)" >> $GITHUB_STEP_SUMMARY
140-
for WPT_FYI_ENDPOINT in "https://wpt.fyi/api/results/upload" "https://staging.wpt.fyi/api/results/upload"
143+
for WPT_FYI_ENDPOINT in "https://staging.wpt.fyi/api/results/upload"
141144
do
142145
response=$(curl -sS \
143146
-u "$WPT_FYI_USERNAME:$WPT_FYI_PASSWORD" \

0 commit comments

Comments
 (0)