Skip to content

Commit

Permalink
add coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
CameronSima committed Sep 4, 2024
1 parent 4bc7d04 commit 55b4239
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Binary file modified .coverage
Binary file not shown.
9 changes: 7 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with unittest
- name: Run tests with coverage
run: |
python -m unittest
coverage run -m unittest discover
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 55b4239

Please sign in to comment.