* Steps to run during PR builds.
()
| 38 | * Steps to run during PR builds. |
| 39 | */ |
| 40 | function prBuildWorkflow() { |
| 41 | if (buildTargetsInclude(Targets.RUNTIME, Targets.UNIT_TEST)) { |
| 42 | generateCircleCiShardTestFileList(unitTestPaths); |
| 43 | timedExecOrDie( |
| 44 | `amp unit --headless --coverage --filelist ${FILELIST_PATH}` |
| 45 | ); |
| 46 | } else { |
| 47 | skipDependentJobs( |
| 48 | jobName, |
| 49 | 'this PR does not affect the runtime or unit tests' |
| 50 | ); |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | runCiJob(jobName, pushBuildWorkflow, prBuildWorkflow); |
nothing calls this directly
no test coverage detected