MCPcopy
hub / github.com/ampproject/amphtml / prBuildWorkflow

Function prBuildWorkflow

build-system/pr-check/experiment-e2e-tests.js:52–61  ·  view source on GitHub ↗

* Steps to run during PR builds.

()

Source from the content-addressed store, hash-verified

50 * Steps to run during PR builds.
51 */
52function prBuildWorkflow() {
53 if (buildTargetsInclude(Targets.RUNTIME, Targets.E2E_TEST)) {
54 pushBuildWorkflow();
55 } else {
56 skipDependentJobs(
57 jobName,
58 'this PR does not affect the runtime or end-to-end tests'
59 );
60 }
61}
62
63runCiJob(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