Skip to content

Commit

Permalink
Update main.yml to travel exit code to top level
Browse files Browse the repository at this point in the history
  • Loading branch information
NadeemYaseen authored Nov 15, 2024
1 parent 1476c7d commit 77c6b04
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ jobs:
export CI=true
echo $run_test
make ${{ matrix.extra-opts}} ${{ matrix.test-type }} $run_test CPU_CORES=2
[[ $? != 0 ]] && exit 1
ls -l /tmp
test-ubuntu-D:
Expand Down Expand Up @@ -350,6 +351,7 @@ jobs:
export CI=true
echo $run_test
make ${{ matrix.test-type }} ${{ matrix.extra-opts }} $run_test CPU_CORES=2
[[ $? != 0 ]] && exit 1
test-ubuntu-P:
needs: build-Ubuntu-P
Expand Down Expand Up @@ -393,6 +395,7 @@ jobs:
export CI=true
echo $run_test
make ${{ matrix.test-type }} ${{ matrix.extra-opts }} $run_test CPU_CORES=2
[[ $? != 0 ]] && exit 1
test-centos-R:
needs: build-CentOS-R
Expand Down Expand Up @@ -441,6 +444,7 @@ jobs:
run_test=`cat TEST_ON`
export CI=true
make ${{ matrix.extra-opts}} ${{ matrix.test-type }} $run_test CPU_CORES=2
[[ $? != 0 ]] && exit 1
Deployment:
Expand Down Expand Up @@ -925,4 +929,4 @@ jobs:
- name: Run clang tidy
run: |
./.github/bin/run-clang-tidy.sh
./.github/bin/run-clang-tidy.sh

0 comments on commit 77c6b04

Please sign in to comment.