Skip to content

Commit

Permalink
chore: exclude build and example folders from coverage (#199)
Browse files Browse the repository at this point in the history
* chore: exclude build and example folders from coverage, upgrade codecov
app

* chore(ci): add token and upgrade codecov version for b&t differential
too
  • Loading branch information
mojomex authored Sep 26, 2024
1 parent e9e9797 commit c2b0414
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-and-test-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ jobs:

- name: Upload coverage to CodeCov
if: ${{ steps.test.outputs.coverage-report-files != '' }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: ${{ steps.test.outputs.coverage-report-files }}
exclude: build/*,nebula_examples/*
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
verbose: true
flags: differential
4 changes: 3 additions & 1 deletion .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,11 @@ jobs:

- name: Upload coverage to CodeCov
if: ${{ steps.test.outputs.coverage-report-files != '' }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: ${{ steps.test.outputs.coverage-report-files }}
exclude: build/*,nebula_examples/*
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
verbose: true
flags: total

0 comments on commit c2b0414

Please sign in to comment.