File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -61,11 +61,17 @@ jobs:
6161
6262 steps :
6363 - name : Run unit-tests
64+ id : unit-test
6465 working-directory : ${{ env.build_dir }}
6566 run : bash scripts/run_tests_fallback.sh
6667 shell : bash
6768
6869 - name : Run regression-tests
70+ id : regression-test
6971 working-directory : ${{ env.build_dir }}/python
7072 run : bash run_tests.sh
7173 shell : bash
74+
75+ - name : Return test code
76+ if : ${{ steps.unit-test.outcome == 'failure' || steps.regression-test.outcome == 'failure' }}
77+ run : exit 1
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ name: Ubuntu
44
55on :
66 push :
7- branches : [ master, self-hosted-runner ]
7+ branches : [ master, self-hosted-runnernner ]
88 pull_request :
99 branches : [ master ]
1010 workflow_dispatch :
1717 fail-fast : false
1818 matrix :
1919 include :
20- - os : ubuntu-18 .04
21- cuda : " 10.1 "
22- gcc : 8
20+ - os : ubuntu-24 .04
21+ cuda : " 12.8 "
22+ gcc : 13
2323 env :
2424 build_dir : " build"
2525 config : " Release"
You can’t perform that action at this time.
0 commit comments