commit 4270ae3836a4a0495273174c43e50fac9615461b
parent bc78df40ef254b011b3ac1c6218652af9b9cb550
Author: James C Scott III <jcscottiii@users.noreply.github.com>
Date: Fri, 3 Oct 2025 08:57:27 +0000
Bug 1990505 [wpt PR 55040] - Ignore WEB_FEATURES.yml for update-wasm-tests workflow, a=testonly
Automatic update from web-platform-tests
Ignore WEB_FEATURES.yml for update-wasm-tests workflow (#55040)
Currently, the update-wasm-tests workflow removes all the existing WASM
test files before copying over the new tests.
This means that we cannot land WEB_FEATURES.yml files for WASM because
they would be removed during the next run of the workflow.
This change moves to using rsync and excludes WEB_FEATURES.yml files.
This will allow WEB_FEATURES.yml files to persist between workflow runs.
Given these generated PRs are still manually reviewed, incoming PRs
with changes to the file names will be caught by the WEB_FEATURES linter
And reviewers can update them if needed.
--
wpt-commits: fe7656cebc4c595632574e28c3e56a5c72791774
wpt-pr: 55040
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/testing/web-platform/tests/.github/workflows/update-wasm-tests.yml b/testing/web-platform/tests/.github/workflows/update-wasm-tests.yml
@@ -30,10 +30,9 @@ jobs:
- name: Convert WAST tests to WPT
run: wasm-spec/test/build.py --dont-recompile --html wasm-spec/out/
- name: Copy Wasm tests to WPT
- # Replace wasm/core entirely.
+ # Replace wasm/core entirely, but preserve WEB_FEATURES.yml files.
run: |
- rm -rf wpt/wasm/core
- cp -r wasm-spec/out/ wpt/wasm/core/
+ rsync -a --delete --exclude 'WEB_FEATURES.yml' wasm-spec/out/ wpt/wasm/core/
- name: Commit changes
id: commit
continue-on-error: true