Skip to content

Commit

Permalink
conformance: QOL improvements (#63)
Browse files Browse the repository at this point in the history
* action: prefer `capture_output`

Signed-off-by: William Woodruff <william@trailofbits.com>

* action: pass `--showlocals` to pytest

Signed-off-by: William Woodruff <william@trailofbits.com>

---------

Signed-off-by: William Woodruff <william@trailofbits.com>
  • Loading branch information
woodruffw authored Jan 31, 2023
1 parent b76987f commit e6b3b8f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions action.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _fatal_help(msg):
sigstore_conformance_args = []

if _DEBUG:
sigstore_conformance_args.extend(["-s", "-vv"])
sigstore_conformance_args.extend(["-s", "-vv", "--showlocals"])

entrypoint = os.getenv("GHA_SIGSTORE_CONFORMANCE_ENTRYPOINT")
if entrypoint:
Expand All @@ -63,8 +63,7 @@ def _fatal_help(msg):
status = subprocess.run(
_sigstore_conformance(*sigstore_conformance_args),
text=True,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
capture_output=True,
)

_debug(status.stdout)
Expand Down

0 comments on commit e6b3b8f

Please sign in to comment.