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

Function prBuildWorkflow

build-system/pr-check/experiment-build.js:33–48  ·  view source on GitHub ↗

* Steps to run during PR builds.

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

buildTargetsIncludeFunction · 0.85
skipDependentJobsFunction · 0.85
pushBuildWorkflowFunction · 0.70

Tested by

no test coverage detected