Skip to content

Commit

Permalink
Update python-package.yml to comment out upload of code coverage repo…
Browse files Browse the repository at this point in the history
…rt to codecov (#436)

It seems the we need the secret to upload the code coverage which we
don't have it. Disabling uploading of code coverage until we have a way
to upload the code coverage.
  • Loading branch information
gaugup authored Apr 17, 2024
2 parents 24b5076 + 292c31e commit 8027ebb
Showing 1 changed file with 13 additions and 13 deletions.
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

0 comments on commit 8027ebb

Please sign in to comment.