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

Signed-off-by: Gaurav Gupta <47334368+gaugup@users.noreply.github.com>
  • Loading branch information
gaugup committed Apr 17, 2024
1 parent 24b5076 commit 292c31e
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 292c31e

Please sign in to comment.