MCPcopy Create free account
hub / github.com/ampproject/amphtml / prBuildWorkflow

Function prBuildWorkflow

build-system/pr-check/unit-tests-local.js:16–25  ·  view source on GitHub ↗

* Steps to run during PR builds.

()

Source from the content-addressed store, hash-verified

14 * Steps to run during PR builds.
15 */
16function prBuildWorkflow() {
17 if (buildTargetsInclude(Targets.RUNTIME, Targets.UNIT_TEST)) {
18 timedExecOrDie('amp unit --headless --local_changes');
19 } else {
20 skipDependentJobs(
21 jobName,
22 'this PR does not affect the runtime or unit tests'
23 );
24 }
25}
26
27runCiJob(jobName, () => {}, prBuildWorkflow);

Callers

nothing calls this directly

Calls 2

buildTargetsIncludeFunction · 0.85
skipDependentJobsFunction · 0.85

Tested by

no test coverage detected