Skip to content

Commit 4600089

Browse files
committed
doc(test-cli): note that CI prints the resolved pytest command
Add a "Debugging CI Failures" subsection to `docs/dev/test_actions_locally.md` pointing readers at the `Executing: pytest ...` line printed when `CI` is set, so failing Github Actions jobs can be reproduced locally without `gh act`.
1 parent caaa521 commit 4600089

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

docs/dev/test_actions_locally.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,13 @@ It's possible to specify the Docker image used by the `act` tool for a specific
111111
```
112112
113113
This can be added to any `gh act` command.
114+
115+
## Debugging CI Failures
116+
117+
The pytest-based CLIs (`fill`, `execute`, ...) print the resolved `pytest ...` invocation at startup whenever the `CI` environment variable is set:
118+
119+
```text
120+
Executing: pytest ...
121+
```
122+
123+
Copy this line verbatim from the failing Github Actions log and run it locally to reproduce the exact command, including all plugin and marker arguments injected by the CLI.

0 commit comments

Comments
 (0)