Skip to content

Commit

Permalink
No Cov for now
Browse files Browse the repository at this point in the history
  • Loading branch information
pboers1988 committed Oct 21, 2024
1 parent 2396767 commit a55dfd7
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,27 +41,27 @@ jobs:
run: |
mkdir reports
pytest -vvv --cov-branch --cov-fail-under=80 --cov=oauth2_lib --cov-config=.coveragerc --cov-report=xml
coverage-combine:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Get coverage files
uses: actions/download-artifact@v4
with:
name: reports
path: reports
- run: pip install coverage[toml]
- run: ls -la reports
- run: coverage combine reports
- run: coverage report
- run: coverage xml
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
files: ./coverage.xml
# coverage-combine:
# needs: [build]
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-python@v5
# with:
# python-version: '3.8'
# - name: Get coverage files
# uses: actions/download-artifact@v4
# with:
# name: reports
# path: reports
# - run: pip install coverage[toml]
# - run: ls -la reports
# - run: coverage combine reports
# - run: coverage report
# - run: coverage xml
# - name: "Upload coverage to Codecov"
# uses: codecov/codecov-action@v3
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# fail_ci_if_error: true
# files: ./coverage.xml

0 comments on commit a55dfd7

Please sign in to comment.