Closed Bug 1925655 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 48703 - Fix safari-wptrunner.yml to match the schema

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox133 fixed)

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 48703 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/48703
Details from upstream follow.

Sam Sneddon <gsnedders@apple.com> wrote:

Fix safari-wptrunner.yml to match the schema

(whoops)

(venv) gsnedders@gsnedders-milk workflows % check-jsonschema --builtin-schema vendor.github-workflows *.yml 
Schema validation errors were encountered.
  safari-wptrunner.yml::$.on: {'workflow_call': {'inputs': {'artifact-name': {'description': 'Prefix for the artifact uploaded', 'required': True, 'type': 'string'}, 'safari-technology-preview': {'description': 'Run Safari Technology Preview rather than the system Safari', 'required': True, 'type': 'bool'}, 'safaridriver-diagnose': {'description': 'Run safaridriver capturing diagnostics', 'required': True, 'type': 'bool'}}}} is not valid under any of the given schemas
  Underlying errors caused this.

  Best Match:
    $.on: {'workflow_call': {'inputs': {'artifact-name': {'description': 'Prefix for the artifact uploaded', 'required': True, 'type': 'string'}, 'safari-technology-preview': {'description': 'Run Safari Technology Preview rather than the system Safari', 'required': True, 'type': 'bool'}, 'safaridriver-diagnose': {'description': 'Run safaridriver capturing diagnostics', 'required': True, 'type': 'bool'}}}} is not of type 'string'
  Best Deep Match:
    $.on.workflow_call.inputs.safari-technology-preview.type: 'bool' is not one of ['boolean', 'number', 'string']

  3 other errors were produced. Use '--verbose' to see all errors.

v.

(venv) gsnedders@gsnedders-milk workflows % check-jsonschema --builtin-schema vendor.github-workflows *.yml
ok -- validation done
PR 48703 applied with additional changes from upstream: b4847226b3e278f0daea1f22d137fb2da1bb50b6
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e1371eb138d4 [wpt PR 48703] - Fix safari-wptrunner.yml to match the schema, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in before you can comment on or make changes to this bug.