Skip to content

Commit 0f56ad4

Browse files
authored
fix(ci): print fill output in coverage workflow on errors (#919)
1 parent f89d09b commit 0f56ad4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/coverage.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,7 @@ jobs:
179179
mkdir -p fixtures/eof_tests
180180
181181
echo "uv run fill $files --until=Cancun --evm-bin evmone-t8n >> filloutput.log 2>&1"
182-
uv run fill $files --until=Cancun --evm-bin evmone-t8n >> filloutput.log 2>&1
183-
cat filloutput.log
182+
uv run fill $files --until=Cancun --evm-bin evmone-t8n > >(tee -a filloutput.log) 2> >(tee -a filloutput.log >&2)
184183
185184
if grep -q "FAILURES" filloutput.log; then
186185
echo "Error: failed to generate .py tests."
@@ -235,8 +234,7 @@ jobs:
235234
236235
if [ -n "$files_fixed" ]; then
237236
echo "uv run fill $files_fixed --until=Cancun --evm-bin evmone-t8n >> filloutput.log 2>&1"
238-
uv run fill $files_fixed --until=Cancun --evm-bin evmone-t8n >> filloutput.log 2>&1
239-
cat filloutput.log
237+
uv run fill $files_fixed --until=Cancun --evm-bin evmone-t8n > >(tee -a filloutput.log) 2> >(tee -a filloutput.log >&2)
240238
241239
if grep -q "FAILURES" filloutput.log; then
242240
echo "Error: failed to generate .py tests from before the PR."

0 commit comments

Comments
 (0)