89
89
path : ${{ env.WHEELS_OUTPUT_FOLDER }}${{ env.WHEELS_NAME }}-*.whl
90
90
91
91
test :
92
- name : Test ['${{ matrix.os }}', python='${{ matrix.python }}']
92
+ name : Test ['${{ matrix.os }}', '${{ matrix.scope }}', python='${{ matrix.python }}']
93
93
94
94
needs : build
95
95
@@ -106,10 +106,10 @@ jobs:
106
106
os : [ubuntu-20.04, ubuntu-latest, windows-latest]
107
107
experimental : [false]
108
108
use_mlir : [false]
109
- run_gdb : [true, false ]
109
+ scope : ['tests', 'examples', 'gdb' ]
110
110
exclude :
111
111
- os : windows-latest
112
- run_gdb : true
112
+ scope : ' gdb '
113
113
114
114
continue-on-error : ${{ matrix.experimental || matrix.use_mlir }}
115
115
@@ -214,14 +214,14 @@ jobs:
214
214
run : python -c "import numba_dpex"
215
215
216
216
- name : Run tests
217
- if : ${{! matrix.run_gdb }}
217
+ if : ${{ matrix.scope == 'tests' }}
218
218
env :
219
219
NUMBA_DPEX_USE_MLIR : ${{ matrix.use_mlir && '1' || '0' }}
220
220
run : |
221
221
pytest -q -ra --disable-warnings --pyargs ${{ env.MODULE_NAME }} -vv
222
222
223
223
- name : Run examples
224
- if : ${{! matrix.run_gdb }}
224
+ if : ${{ matrix.scope == 'examples' }}
225
225
shell : bash -l {0}
226
226
run : |
227
227
cd ${{ env.EXAMPLES_PATH }}
@@ -232,7 +232,7 @@ jobs:
232
232
done
233
233
234
234
- name : Run gdb tests
235
- if : ${{matrix.run_gdb }}
235
+ if : ${{ matrix.scope == 'gdb' }}
236
236
env :
237
237
GDB_URL : https://registrationcenter-download.intel.com/akdlm/IRC_NAS/fcea1bcd-6a63-4849-b304-906ff71dc2c0/l_dpcpp_dbg_p_2023.2.0.49333_offline.sh
238
238
GDB_INSTALLER : l_dpcpp_dbg_p_2023.2.0.49333_offline.sh
0 commit comments