Skip to content

Commit

Permalink
ci: add codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
kelly-sovacool committed Aug 8, 2024
1 parent 2271e27 commit 0b21a41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ jobs:
python -m pip install .[dev,test] --upgrade pip
- name: Test
run: |
python -m pytest
python -m pytest --cov
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

build-status: # https://github.com/orgs/community/discussions/4324#discussioncomment-3477871
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ dev = [
"pre-commit"
]
test = [
"pytest"
"pytest",
"pytest-cov"
]

[project.scripts]
Expand Down

0 comments on commit 0b21a41

Please sign in to comment.