Skip to content

Commit

Permalink
BUILD complete codecov setup
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopfonseca committed Nov 14, 2024
1 parent 3f5b3d9 commit b09ac31
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
workflow_dispatch:


permissions:
contents: write

jobs:
linting:
name: Linting
Expand Down Expand Up @@ -61,16 +64,16 @@ jobs:
run: |
make test
- name: Upload coverage to codecov
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
slug: DataResponsibly/sharp

- name: Test Docs
run: |
cd doc
make html
- name: Upload coverage to codecov
uses: codecov/codecov-action@v2
with:
# NOTE: Version is set as a workaround for a macos issue
version: v0.7.3
files: ./coverage.xml
fail_ci_if_error: false
verbose: true

0 comments on commit b09ac31

Please sign in to comment.