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

Function prBuildWorkflow

build-system/pr-check/unminified-tests.js:36–45  ·  view source on GitHub ↗

* Steps to run during PR builds.

()

Source from the content-addressed store, hash-verified

34 * Steps to run during PR builds.
35 */
36function prBuildWorkflow() {
37 if (buildTargetsInclude(Targets.RUNTIME, Targets.INTEGRATION_TEST)) {
38 timedExecOrDie('amp integration --nobuild --headless --coverage');
39 } else {
40 skipDependentJobs(
41 jobName,
42 'this PR does not affect the runtime or integration tests'
43 );
44 }
45}
46
47runCiJob(jobName, pushBuildWorkflow, prBuildWorkflow);

Callers

nothing calls this directly

Calls 2

buildTargetsIncludeFunction · 0.85
skipDependentJobsFunction · 0.85

Tested by

no test coverage detected