Skip to content

Commit

Permalink
include more in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
BowTiedWoo committed Nov 5, 2024
1 parent 3eae7b8 commit c632265
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ jobs:
--test standard 2>&1| tee output.log
test_exit=${PIPESTATUS[0]}
cat output.log | sed 's/\x1b\[[0-9;]*[a-zA-Z]//g' | sed 's/\x0//g' > cleaned_output.log
echo "output.log: $(cat cleaned_output.log)"
sed -n '/Test failed: assertion/,/Canceling due to test failure/p' cleaned_output.log >> failure_section.log
sed -n '/Test failed: assertion/,/FAIL/p' cleaned_output.log >> failure_section.log
echo "failure_section<<EOF" >> $GITHUB_ENV
cat failure_section.log >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
Expand Down

0 comments on commit c632265

Please sign in to comment.