Skip to content

Commit

Permalink
Fail regress in github CI early.
Browse files Browse the repository at this point in the history
Fail immediately after a broken test.  Then the printed log files
contain the reason of failure and not the last successful test.
This may help to debug some races in the tests.
  • Loading branch information
bluhm committed Nov 27, 2023
1 parent b7003b8 commit c7de0aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ jobs:
echo == build ==
make all
echo == test ==
REGRESS_FAIL_EARLY=no SUDO=sudo make test 2>&1 | tee make.log
REGRESS_FAIL_EARLY=yes SUDO=sudo make test 2>&1 | tee make.log
tail -n1000 regress/*.log
! grep -B1 FAILED make.log

0 comments on commit c7de0aa

Please sign in to comment.