Skip to content

Commit

Permalink
ci: temporarily disable codecov action
Browse files Browse the repository at this point in the history
  • Loading branch information
kmontag committed Aug 17, 2024
1 parent 40a9952 commit 65a28d2
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/test_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,30 +37,30 @@ jobs:
name: coverage-${{ matrix.os }}-${{ matrix.python-version }}
path: .coverage*

coverage:
name: Report coverage
runs-on: ubuntu-latest
# Make sure coverage reports have been generated.
needs:
- validate
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.12
- run: python -m pip install hatch
# coverage:
# name: Report coverage
# runs-on: ubuntu-latest
# # Make sure coverage reports have been generated.
# needs:
# - validate
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-python@v4
# with:
# python-version: 3.12
# - run: python -m pip install hatch

- uses: actions/download-artifact@v4
with:
pattern: coverage-*
merge-multiple: true
# - uses: actions/download-artifact@v4
# with:
# pattern: coverage-*
# merge-multiple: true

- run: hatch run coverage:combine
- run: hatch run coverage:report-xml
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
# - run: hatch run coverage:combine
# - run: hatch run coverage:report-xml
# - uses: codecov/codecov-action@v4
# with:
# fail_ci_if_error: true
# token: ${{ secrets.CODECOV_TOKEN }}

release:
name: Publish to GitHub and PyPi
Expand All @@ -76,7 +76,7 @@ jobs:
needs:
# Don't publish unless everything else succeeded.
- validate
- coverage
# - coverage

permissions:
id-token: write
Expand Down

0 comments on commit 65a28d2

Please sign in to comment.