* Steps to run during push builds.
()
| 21 | * Steps to run during push builds. |
| 22 | */ |
| 23 | function pushBuildWorkflow() { |
| 24 | try { |
| 25 | generateCircleCiShardTestFileList(unitTestPaths); |
| 26 | timedExecOrThrow( |
| 27 | `amp unit --headless --coverage --filelist ${FILELIST_PATH}`, |
| 28 | 'Unit tests failed!' |
| 29 | ); |
| 30 | } catch (e) { |
| 31 | if (e.status) { |
| 32 | process.exitCode = e.status; |
| 33 | } |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Steps to run during PR builds. |
nothing calls this directly
no test coverage detected