* Steps to run during PR builds.
()
| 38 | * Steps to run during PR builds. |
| 39 | */ |
| 40 | function 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 | } |
| 53 | runCiJob(jobName, pushBuildWorkflow, prBuildWorkflow); |
nothing calls this directly
no test coverage detected