Skip to content

Commit

Permalink
generate core dump files in ci πŸ™
Browse files Browse the repository at this point in the history
  • Loading branch information
dpdani committed Jan 12, 2024
1 parent f389311 commit 85c3867
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,10 @@ jobs:
ulimit -c
sudo mkdir -p /cores/
sudo chmod -R 777 /cores/
echo "/cores/" | sudo tee /proc/sys/kernel/core_pattern
echo "/cores/core-%e-%p-%t" | sudo tee /proc/sys/kernel/core_pattern
sudo cat /proc/sys/kernel/core_pattern
pytest --junitxml=junit/test-results-${{ matrix.python-version }}.xml
if: ${{ always() }}
- name: ls
if: ${{ always() }}
run: |
ls -al
ls -al ./cores
- name: upload core dump file
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 85c3867

Please sign in to comment.