Skip to content

Commit b4493bd

Browse files
authored
Merge pull request #2 from Perl-GPU/check-build-failure-for-test
Be more explicit about failing builds + tests
2 parents 51ac50f + 405dcc7 commit b4493bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

github-actions/ci-dist/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,9 +381,9 @@ runs:
381381
echo "::group::test (no coverage)"
382382
cd ${{ inputs.path }}
383383
if [ -f Makefile.PL ]; then
384-
$TEST_RUNNER_PREFIX make && $TEST_RUNNER_PREFIX make test
384+
( $TEST_RUNNER_PREFIX make && $TEST_RUNNER_PREFIX make test ) || exit 1
385385
elif [ -f Build.PL ]; then
386-
$TEST_RUNNER_PREFIX ./Build test
386+
( $TEST_RUNNER_PREFIX ./Build test ) || exit 1
387387
else
388388
echo "No file Makefile.PL or Build.PL" >&2
389389
fi

0 commit comments

Comments
 (0)