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

Function prBuildWorkflow

build-system/pr-check/nomodule-tests.js:51–63  ·  view source on GitHub ↗

* Steps to run during PR builds.

()

Source from the content-addressed store, hash-verified

49 * Steps to run during PR builds.
50 */
51function prBuildWorkflow() {
52 if (buildTargetsInclude(Targets.RUNTIME, Targets.INTEGRATION_TEST)) {
53 prependConfig();
54 timedExecOrDie(
55 `amp integration --nobuild --minified --headless --config=${argv.config}`
56 );
57 } else {
58 skipDependentJobs(
59 jobName,
60 'this PR does not affect the runtime or integration tests'
61 );
62 }
63}
64
65runCiJob(jobName, pushBuildWorkflow, prBuildWorkflow);

Callers

nothing calls this directly

Calls 3

buildTargetsIncludeFunction · 0.85
skipDependentJobsFunction · 0.85
prependConfigFunction · 0.70

Tested by

no test coverage detected