Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Sep 5, 2024
1 parent b1f2600 commit 368df35
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/pytest_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,22 +79,13 @@ jobs:
DURATIONS_FILE=$(mktemp)
bzcat data/pytest/durations_ubuntu.bz2 > $DURATIONS_FILE
pytest -x --cov --level=2 --durations-path=$DURATIONS_FILE --splits=5 --group=${{ matrix.group }} --pyargs scico
echo Workspace: ${{ github.workspace }}
ls -a ${{ github.workspace }}
ls -l ${{ github.workspace }}/.coverage
# Upload coverage data
- name: Upload coverage
uses: actions/upload-artifact@v4
with:
include-hidden-files: true
name: coverage${{ matrix.group }}
path: ${{ github.workspace }}/.coverage
# Temporary
- name: Temporary
run: |
echo Workspace: ${{ github.workspace }}
ls -a ${{ github.workspace }}
ls -l ${{ github.workspace }}/.coverage
# Run doc tests
- name: Run doc tests
if: matrix.group == 1
Expand All @@ -120,8 +111,7 @@ jobs:
uses: actions/download-artifact@v4
- name: Run coverage
run: |
ls -aR --ignore=.git --ignore=scico --ignore=docs --ignore=examples --ignore=misc --ignore=data
coverage combine coverage*/.coverage*
coverage combine coverage?/.coverage
coverage report
coverage xml
- uses: codecov/codecov-action@v3
Expand Down

0 comments on commit 368df35

Please sign in to comment.