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

Function prBuildWorkflow

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

* Steps to run during PR builds.

()

Source from the content-addressed store, hash-verified

37 * Steps to run during PR builds.
38 */
39function prBuildWorkflow() {
40 if (buildTargetsInclude(Targets.RUNTIME, Targets.INTEGRATION_TEST)) {
41 prependConfig();
42 timedExecOrDie(
43 `amp integration --nobuild --minified --headless --esm --config=${argv.config}`
44 );
45 } else {
46 skipDependentJobs(
47 jobName,
48 'this PR does not affect the runtime or integration tests'
49 );
50 }
51}
52
53runCiJob(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