Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore: fix the test cover workflow
  • Loading branch information
chelsea-lin committed Sep 3, 2024
commit 5914c7eedacd3982c3a55b05e9f5400ad7de2d61
6 changes: 3 additions & 3 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
python -m pip install nox
- name: Run unit tests
env:
COVERAGE_FILE: .coverage-${{ matrix.python }}
COVERAGE_FILE: .coverage-unit-${{ matrix.python }}
run: |
nox -s unit-${{ matrix.python }}
- name: Upload coverage results
uses: actions/upload-artifact@v4
with:
name: coverage-artifact-${{ matrix.python }}
path: .coverage-${{ matrix.python }}
path: .coverage-unit-${{ matrix.python }}

cover:
runs-on: ubuntu-latest
Expand All @@ -53,5 +53,5 @@ jobs:
- name: Report coverage results
run: |
find .coverage-results -type f -name '*.zip' -exec unzip {} \;
coverage combine .coverage-results/**/.coverage*
coverage combine .coverage-results/**/.coverage-unit*
coverage report --show-missing --fail-under=35