Skip to content

Commit

Permalink
tsets
Browse files Browse the repository at this point in the history
  • Loading branch information
externl committed Nov 15, 2024
1 parent a0df566 commit eaf92bd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
10 changes: 9 additions & 1 deletion .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@ runs:
working-directory: ${{ inputs.working_directory }}
run: python3 allTests.py --debug --all --continue --workers=4 --export-xml=test-report.xml ${{ inputs.flags }}
shell: bash
if: runner.os == 'macOS' || runner.os == 'Linux'
if: runner.os == 'macOS'

- name: Test
working-directory: ${{ inputs.working_directory }}
run: |
ulimit -c unlimited
python3 allTests.py --debug --all --continue --workers=4 --export-xml=test-report.xml ${{ inputs.flags }}
shell: bash
if: runner.os == 'Linux'

- name: Test
working-directory: ${{ inputs.working_directory }}
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,7 @@ jobs:
use_matlab: ${{ matrix.config == 'matlab' }}

- name: Enable Linux core dumps
run: |
echo "ulimit -c unlimited" >> ~/.bashrc
echo "core.%e.%p.%t.%h" > sudo tee /proc/sys/kernel/core_pattern
run: echo "coredump.%e.%p.%t.%h" > sudo tee /proc/sys/kernel/core_pattern
if: runner.os == 'Linux'

# See https://learn.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps
Expand Down Expand Up @@ -139,7 +136,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: core-dumps-${{ matrix.config }}-${{ matrix.os }}
path: ${{ matrix.working_directory || '.' }}/**/core.*
path: ${{ matrix.working_directory || '.' }}/**/coredump.*
if-no-files-found: ignore
if: runner.os == 'Linux' && always()

Expand Down

0 comments on commit eaf92bd

Please sign in to comment.