Commit 286e5e7
committed
feat(test-cli): append pytest command to Github Actions job summary
When `$GITHUB_STEP_SUMMARY` is set, `PytestRunner` now also appends the
resolved `pytest ...` invocation to the step summary as a fenced code
block, so it can be copied from the Actions "Summary" panel of a failing
run instead of scrolling through the log. Outside Github Actions the
env var is unset and behavior is unchanged.1 parent 4600089 commit 286e5e7
2 files changed
Lines changed: 7 additions & 1 deletion
File tree
- docs/dev
- packages/testing/src/execution_testing/cli/pytest_commands
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
| |||
0 commit comments