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