Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: make sure code cov reports generate and upload #469

Merged
merged 2 commits into from Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/build-test.yml
Expand Up @@ -59,3 +59,7 @@ jobs:
- name: Upload coverage to Codecov
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10'}}
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
files: ./coverage.xml
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -30,3 +30,4 @@ stravalib-2023/

# Ignore Sphinx auto-generated API stubs #
docs/reference/api
coverage.xml
1 change: 1 addition & 0 deletions changelog.md
Expand Up @@ -4,6 +4,7 @@

- Fix: Docs - add contributing section to top bar for easier discovery and a few small syntax fixes in the docs (@lwasser)
- Fix: Manifest.in file - remove example dir (@lwasser, #307)
- Fix: Codecov report wasn't generating correctly (@lwasser, #469)

## v1.6

Expand Down
4 changes: 2 additions & 2 deletions noxfile.py
Expand Up @@ -16,8 +16,8 @@ def tests(session):
session.install("-r", "requirements.txt")
session.run(
"pytest",
"--cov",
"src/stravalib",
"--cov=src/stravalib",
"--cov-report=xml:coverage.xml",
"src/stravalib/tests/unit/",
"src/stravalib/tests/integration/",
)
Expand Down