Bug 1653999 - Run web-platform unit tests in CI. r=jgraham,ahal

Differential Revision: https://phabricator.services.mozilla.com/D229590
This commit is contained in:
Alexandra Borovova 2024-11-22 09:10:00 +00:00
parent 797d0f4714
commit 00d96eba04
2 changed files with 26 additions and 0 deletions

View File

@ -41,6 +41,7 @@ tasks-from:
- webcompat.yml
- wpt-manifest.yml
- wpt-metadata.yml
- wpt-unittest.yml
task-defaults:
use-python: default

View File

@ -0,0 +1,25 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
---
task-defaults:
platform: lint/opt
treeherder:
kind: test
tier: 1
worker-type: t-linux-xlarge-source
worker:
docker-image: {in-tree: "lint"}
max-run-time: 1800
default:
description: Web-platform unit tests.
treeherder:
symbol: wpt-unittest
run:
using: run-task
cwd: '{checkout}'
command: ./mach wpt-unittest -e py38
when:
files-changed:
- 'testing/web-platform/tests/tools/**'