Skip to content

Commit

Permalink
feat(workflows): dump core files
Browse files Browse the repository at this point in the history
  • Loading branch information
XuehaiPan committed Oct 31, 2024
1 parent d8184f1 commit 991ed1b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests-with-pydebug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ env:
OPTREE_CXX_WERROR: "ON"
PYTHON_TAG: "py3"
PYTHON_VERSION: "3"
PYENV_ROOT: "~/.pyenv"
COLUMNS: "128"

jobs:
Expand Down Expand Up @@ -157,6 +158,9 @@ jobs:
- name: Test with pytest
shell: bash
run: |
if [[ "${{ runner.os }}" != 'Windows' ]]; then
ulimit -c unlimited
fi
PYTESTOPTS=(
"--exitfirst"
"--cov-report=xml:coverage.${{ env.PYTHON_TAG }}.xml"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ jobs:
- name: Test with pytest
shell: bash
run: |
if [[ "${{ runner.os }}" != 'Windows' ]]; then
ulimit -c unlimited
fi
PYTESTOPTS=(
"--exitfirst"
"--cov-report=xml:coverage-${{ matrix.python-version }}-${{ runner.os }}.xml"
Expand Down

0 comments on commit 991ed1b

Please sign in to comment.