Skip to content

Commit

Permalink
Update main.yml more simplified logic
Browse files Browse the repository at this point in the history
  • Loading branch information
NadeemYaseen authored Nov 16, 2024
1 parent 7ae4bb1 commit 7884cf6
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,7 @@ jobs:
run_test=`cat TEST_ON`
export CI=true
echo $run_test
make ${{ matrix.extra-opts}} ${{ matrix.test-type }} $run_test CPU_CORES=2
echo $?
[[ $? != 0 ]] && exit 1
make ${{ matrix.extra-opts}} ${{ matrix.test-type }} $run_test CPU_CORES=2 || exit 1
ls -l /tmp
test-ubuntu-D:
Expand Down Expand Up @@ -354,9 +352,7 @@ jobs:
run_test=`cat TEST_ON`
export CI=true
echo $run_test
make ${{ matrix.test-type }} ${{ matrix.extra-opts }} $run_test CPU_CORES=2
echo $?
[[ $? != 0 ]] && exit 1
make ${{ matrix.test-type }} ${{ matrix.extra-opts }} $run_test CPU_CORES=2 || exit 1
test-ubuntu-P:
needs: build-Ubuntu-P
Expand Down Expand Up @@ -399,9 +395,7 @@ jobs:
run_test=`cat TEST_ON`
export CI=true
echo $run_test
make ${{ matrix.test-type }} ${{ matrix.extra-opts }} $run_test CPU_CORES=2
echo $?
[[ $? != 0 ]] && exit 1
make ${{ matrix.test-type }} ${{ matrix.extra-opts }} $run_test CPU_CORES=2 || exit 1
test-centos-R:
needs: build-CentOS-R
Expand Down Expand Up @@ -452,9 +446,7 @@ jobs:
cd work && tar -xzf build.tar.gz && rm build.tar.gz
run_test=`cat TEST_ON`
export CI=true
make ${{ matrix.extra-opts}} ${{ matrix.test-type }} $run_test CPU_CORES=2
echo $?
[[ $? != 0 ]] && exit 1
make ${{ matrix.extra-opts}} ${{ matrix.test-type }} $run_test CPU_CORES=2 || exit 1
Deployment:
Expand Down

0 comments on commit 7884cf6

Please sign in to comment.