Skip to content

Commit 846b96a

Browse files
committed
Simple.yml needs to not exit before test
1 parent 4738e89 commit 846b96a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/simple.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,10 @@ jobs:
3636
- name: Run build and tests
3737
run: |
3838
# Build first with matrix config
39-
${{ matrix.config }} ${{ matrix.force_fail }} ./scripts/build-wolfprovider.sh
40-
BUILD_RESULT=$?
39+
${{ matrix.config }} ${{ matrix.force_fail }} ./scripts/build-wolfprovider.sh || BUILD_RESULT=$?
4140
4241
# Run all tests regardless of build result
43-
${{ matrix.force_fail }} ./scripts/cmd_test/do-cmd-tests.sh
44-
TEST_RESULT=$?
42+
${{ matrix.force_fail }} ./scripts/cmd_test/do-cmd-tests.sh || TEST_RESULT=$?
4543
4644
# For force_fail, we expect failures (return 1)
4745
if [ -n "${{ matrix.force_fail }}" ]; then

0 commit comments

Comments
 (0)