Skip to content

Commit

Permalink
Run affected tests on Taskcluster without changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexcles committed Dec 6, 2018
1 parent 093a97b commit 31c2c48
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .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 31c2c48

Please sign in to comment.