* Steps to run during PR builds.
()
| 49 | * Steps to run during PR builds. |
| 50 | */ |
| 51 | function prBuildWorkflow() { |
| 52 | if (buildTargetsInclude(Targets.RUNTIME, Targets.INTEGRATION_TEST)) { |
| 53 | prependConfig(); |
| 54 | timedExecOrDie( |
| 55 | `amp integration --nobuild --minified --headless --config=${argv.config}` |
| 56 | ); |
| 57 | } else { |
| 58 | skipDependentJobs( |
| 59 | jobName, |
| 60 | 'this PR does not affect the runtime or integration tests' |
| 61 | ); |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | runCiJob(jobName, pushBuildWorkflow, prBuildWorkflow); |
nothing calls this directly
no test coverage detected