Skip to content

Commit 04b6629

Browse files
Add more triaging steps
1 parent ba0bdbc commit 04b6629

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.github/workflows/conda-package.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,11 @@ jobs:
208208
. $CONDA/etc/profile.d/conda.sh
209209
conda activate ${{ env.TEST_ENV_NAME }}
210210
python -c "import dpctl; dpctl.lsplatform(verbosity=2)"
211+
- name: Create test temp dir
212+
# create temporary empty folder to runs tests from
213+
# https://github.com/pytest-dev/pytest/issues/11904
214+
run: mkdir -p ${GITHUB_WORKSPACE}/test_tmp
215+
211216
- name: Install gdb
212217
run: |
213218
sudo apt-get update --fix-missing
@@ -218,10 +223,18 @@ jobs:
218223
conda activate ${{ env.TEST_ENV_NAME }}
219224
gdb --batch -ex r -ex 'info sharedlibrary' -ex 'set print elements 1000' -ex bt --args ${CONDA_PREFIX}/bin/python -m pytest -q -ra --disable-warnings --pyargs dpctl.tests.test_usm_ndarray_sorting dpctl.tests.test_usm_ndarray_unique dpctl.tests.test_usm_ndarray_top_k -vv || true
220225
221-
- name: Create test temp dir
222-
# create temporary empty folder to runs tests from
223-
# https://github.com/pytest-dev/pytest/issues/11904
224-
run: mkdir -p ${GITHUB_WORKSPACE}/test_tmp
226+
- name: Run test_usm_ndarray_top_k under gdb 2
227+
run: |
228+
. $CONDA/etc/profile.d/conda.sh
229+
conda activate ${{ env.TEST_ENV_NAME }}
230+
gdb --batch -ex r -ex 'info sharedlibrary' -ex 'set print elements 1000' -ex bt --args ${CONDA_PREFIX}/bin/python -m pytest -q -ra --disable-warnings --pyargs dpctl.tests.test_usm_ndarray_sorting dpctl.tests.test_usm_ndarray_top_k -vv || true
231+
232+
- name: Run test_usm_ndarray_top_k under gdb 2
233+
run: |
234+
. $CONDA/etc/profile.d/conda.sh
235+
conda activate ${{ env.TEST_ENV_NAME }}
236+
gdb --batch -ex r -ex 'info sharedlibrary' -ex 'set print elements 1000' -ex bt --args ${CONDA_PREFIX}/bin/python -m pytest -q -ra --disable-warnings --pyargs dpctl.tests.test_usm_ndarray_top_k -vv || true
237+
225238
- name: Run tests
226239
working-directory: ${{ github.workspace }}/test_tmp
227240
env:

0 commit comments

Comments
 (0)