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

Function prBuildWorkflow

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

* Steps to run during PR builds.

()

Source from the content-addressed store, hash-verified

38 * Steps to run during PR builds.
39 */
40function prBuildWorkflow() {
41 if (buildTargetsInclude(Targets.RUNTIME, Targets.E2E_TEST)) {
42 generateCircleCiShardTestFileList(e2eTestPaths);
43 timedExecOrDie(
44 `amp e2e --nobuild --headless --minified --filelist ${FILELIST_PATH}`
45 );
46 } else {
47 skipDependentJobs(
48 jobName,
49 'this PR does not affect the runtime or end-to-end tests'
50 );
51 }
52}
53runCiJob(jobName, pushBuildWorkflow, prBuildWorkflow);

Callers

nothing calls this directly

Calls 3

buildTargetsIncludeFunction · 0.85
skipDependentJobsFunction · 0.85

Tested by

no test coverage detected