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

Update python-package.yml to comment out upload of code coverage report to codecov #436

Merged
merged 1 commit into from
Apr 17, 2024
Merged
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
26 changes: 13 additions & 13 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,19 @@ jobs:
if: ${{ (matrix.python-version == '3.8') && (matrix.os == 'ubuntu-latest') }}
with:
files: junit/test-results.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
if: ${{ (matrix.python-version == '3.8') && (matrix.os == 'ubuntu-latest') }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: .
env_vars: OS,PYTHON
fail_ci_if_error: true
files: ./coverage.xml
flags: unittests
name: codecov-umbrella
path_to_write_report: ./coverage/codecov_report.txt
verbose: true
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v3
# if: ${{ (matrix.python-version == '3.8') && (matrix.os == 'ubuntu-latest') }}
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# directory: .
# env_vars: OS,PYTHON
# fail_ci_if_error: true
# files: ./coverage.xml
# flags: unittests
# name: codecov-umbrella
# path_to_write_report: ./coverage/codecov_report.txt
# verbose: true
- name: Check package consistency with twine
run: |
python setup.py check sdist bdist_wheel
Expand Down