mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Auto merge of #8601 - mfeckie:feature/manifest-diff-ci-check, r=jdm
Check if MANIFEST.json changes as per #8587 Adds a script which checks if either of the MANIFEST.json files change in `test/wpt` in response to #8587 - Addresses currently incorrect MANIFEST.json - Adds checking script PR for saltfs to add to CI checks to follow (https://github.com/servo/saltfs/pull/163) https://reviewable.io/reviews/servo/servo/8601 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8601) <!-- Reviewable:end -->
This commit is contained in:
commit
f2fe1171d2
4 changed files with 9 additions and 2 deletions
|
@ -11,6 +11,7 @@ matrix:
|
||||||
script:
|
script:
|
||||||
- ./mach build -d --verbose
|
- ./mach build -d --verbose
|
||||||
- bash etc/ci/lockfile_changed.sh
|
- bash etc/ci/lockfile_changed.sh
|
||||||
|
- bash etc/ci/manifest_changed.sh
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- .cargo
|
- .cargo
|
||||||
|
|
6
etc/ci/manifest_changed.sh
Executable file
6
etc/ci/manifest_changed.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
./mach test-wpt --manifest-update SKIP_TESTS > /dev/null
|
||||||
|
./mach test-css --manifest-update SKIP_TESTS > /dev/null
|
||||||
|
diff=$(git diff -- tests/*/MANIFEST.json)
|
||||||
|
echo "$diff"
|
||||||
|
[[ ! $diff ]]
|
|
@ -35511,4 +35511,4 @@
|
||||||
"rev": "5a754b40cd49c0404863c431b58cc311dc5d167c",
|
"rev": "5a754b40cd49c0404863c431b58cc311dc5d167c",
|
||||||
"url_base": "/",
|
"url_base": "/",
|
||||||
"version": 2
|
"version": 2
|
||||||
}
|
}
|
||||||
|
|
|
@ -9881,7 +9881,7 @@
|
||||||
"path": "css/viewport_ignore_desktop.html",
|
"path": "css/viewport_ignore_desktop.html",
|
||||||
"references": [
|
"references": [
|
||||||
[
|
[
|
||||||
"/_mozilla/css/viewport_ignore_desktop.html",
|
"/_mozilla/css/viewport_ignore_desktop_ref.html",
|
||||||
"=="
|
"=="
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue