Skip to content

Commit

Permalink
undo coredump
Browse files Browse the repository at this point in the history
  • Loading branch information
mshr-h committed Feb 8, 2024
1 parent b22e200 commit 973acc6
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,18 +137,13 @@ jobs:
# We don't run pytest for Linux py3.9 since we do coverage for that case.
- name: Test with pytest
if: ${{ matrix.python-version != '3.9' || startsWith(matrix.os, 'ubuntu') != true }}
run: |
ulimit -c unlimited
sudo -E pytest
sudo chmod -R +rwx /cores/*
run: pytest
# Run and push coverage only for Linux py3.9
- name: Coverage 3.9 Linux
if: ${{ matrix.python-version == '3.9' && startsWith(matrix.os, 'ubuntu') }}
run: |
ulimit -c unlimited
sudo -E coverage run -a -m pytest tests
sudo -E coverage xml
sudo chmod -R +rwx /cores/*
coverage run -a -m pytest tests
coverage xml
- name: Upload coverage to Codecov
if: ${{ matrix.python-version == '3.9' && startsWith(matrix.os, 'ubuntu') }}
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit 973acc6

Please sign in to comment.