Skip to content

Commit

Permalink
Bug 1512343 [wpt PR 14382] - Run affected tests on Taskcluster withou…
Browse files Browse the repository at this point in the history
…t the patch, a=testonly

Automatic update from web-platform-tests
Run affected tests on Taskcluster without changes

One step towards
web-platform-tests/wpt.fyi#708

--

wpt-commits: fc87d9b363525fdcc5b5053a7c9624614c3fd730
wpt-pr: 14382

UltraBlame original commit: 8fa9cbffeb35f59aad1e164576afbffe737cde8d
  • Loading branch information
marco-c committed Oct 3, 2019
1 parent 8c6839e commit a1b0c7c
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions testing/web-platform/tests/.taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,26 @@ tasks:
each(browser):
$map:
- name: wpt-${browser.name}-${browser.channel}-stability
checkout: FETCH_HEAD
diff_range: HEAD^
description: >-
Verify that all tests affected by a pull request are stable
when executed in ${browser.name}.
extra_args: '--verify'
- name: wpt-${browser.name}-${browser.channel}-results
checkout: FETCH_HEAD
diff_range: HEAD^
description: >-
Collect results for all tests affected by a pull request in
${browser.name}.
extra_args: '--no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json'
- name: wpt-${browser.name}-${browser.channel}-results-without-changes
checkout: FETCH_HEAD^
diff_range: FETCH_HEAD
description: >-
Collect results for all tests affected by a pull request in
${browser.name} but without the changes in the PR.
extra_args: '--no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json'
each(operation):
taskId: {$eval: 'as_slugid(operation.name)'}
taskGroupId: {$eval: 'as_slugid("task group")'}
Expand All @@ -125,7 +136,7 @@ tasks:
owner: ${event.pull_request.user.login}@users.noreply.github.com
source: ${event.repository.url}
payload:
image: hexcles/web-platform-tests:0.23
image: harjgam/web-platform-tests:0.25
maxRunTime: 7200
artifacts:
public/results:
Expand All @@ -145,12 +156,12 @@ tasks:
~/start.sh
${event.repository.clone_url}
refs/pull/${event.number}/merge
FETCH_HEAD
${operation.checkout}
${browser.name}
${browser.channel};
cd ~/web-platform-tests;
./tools/ci/taskcluster-run.py
--commit-range HEAD^
--commit-range ${operation.diff_range}
${browser.name}
--
--channel=${browser.channel}
Expand Down

0 comments on commit a1b0c7c

Please sign in to comment.