Skip to content

Commit

Permalink
chore: Remove codecov from coverage session, codecov handled by workf…
Browse files Browse the repository at this point in the history
…low (#145)

* chore: Remove codecov from coverage session, codecov handled by workflow
  • Loading branch information
valosnah authored Sep 5, 2024
1 parent 5570572 commit 992a0d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
python_version: '3.9'
python_architecture: x64
sessions: tests
coverage_file_path: "./coverage.xml"
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3 changes: 1 addition & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,5 @@ def mypy(session: Session) -> None:
@nox_poetry.session(python=["3.9"])
def coverage(session: Session) -> None:
"""Upload coverage data."""
session.install("coverage[toml]", "codecov")
session.install("coverage[toml]")
session.run("coverage", "xml", "--fail-under=0")
session.run("codecov", *session.posargs)

0 comments on commit 992a0d2

Please sign in to comment.