tools: re-enable undici WPTs in daily wpt.fyi job by panva · Pull Request #62677 · nodejs/node · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .github/actions/undici-wpt-current/action.yml
37 changes: 37 additions & 0 deletions .github/actions/undici-wpt-legacy/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Run undici WPT (legacy)
description: Runs undici WPT tests for undici < 7 and appends results to the Node.js WPT report

inputs:
undici-version:
required: true
description: undici version tag to checkout
wpt-report:
required: true
description: Path to the Node.js WPT report

runs:
using: composite
steps:
- name: Checkout undici
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: nodejs/undici
persist-credentials: false
path: undici
clean: false
ref: ${{ inputs.undici-version }}
- name: Prepare WPT checkout
shell: bash
run: |
rm -rf undici/test/wpt/tests
mv test/fixtures/wpt undici/test/wpt/tests
- name: Install dependencies
shell: bash
working-directory: undici
run: npm install
- name: Run WPT
shell: bash
working-directory: undici
env:
WPT_REPORT: ${{ inputs.wpt-report }}
run: npm run test:wpt || true
42 changes: 42 additions & 0 deletions .github/workflows/daily-wpt-fyi.yml