Commit 00a9f8a
authored
Archive gotestsum JSON for unit and acc tests (#5068)
## Summary
`task cover` (push-to-main path) wrote both the unit and acceptance
gotestsum runs to the same `test-output.json`, so the acc run overwrote
the unit run. Mirror what `task test` already does:
- Each gotestsum run writes its own per-run JSON
(`test-output-unit.json`, `test-output-acc.json`).
- A trailing `cat` step concatenates them into `test-output.json`, so
`task cover` and `task test` produce the same artifact.
Upload `test-output.json` as a per-matrix-entry artifact
(`test-output-<os>-<deployment>`) so we can run `gotestsum tool slowest`
or ad-hoc queries against the full per-test timing set offline.
This pull request and its description were written by Isaac.1 parent 8e61912 commit 00a9f8a
2 files changed
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
157 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
158 | 165 | | |
159 | 166 | | |
160 | 167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
| 567 | + | |
| 568 | + | |
567 | 569 | | |
568 | 570 | | |
569 | 571 | | |
570 | 572 | | |
571 | 573 | | |
572 | 574 | | |
573 | | - | |
| 575 | + | |
574 | 576 | | |
575 | 577 | | |
576 | 578 | | |
577 | 579 | | |
578 | 580 | | |
579 | 581 | | |
580 | 582 | | |
581 | | - | |
| 583 | + | |
582 | 584 | | |
583 | 585 | | |
584 | 586 | | |
| 587 | + | |
585 | 588 | | |
586 | 589 | | |
587 | 590 | | |
| |||
0 commit comments