Skip to content

Commit

Permalink
Merge pull request #750 from apache/hotfix/747-codecov-fix
Browse files Browse the repository at this point in the history
gh-747: Configure codecov action with upload token
  • Loading branch information
pnoltes authored Jun 2, 2024
2 parents e4df2aa + f5cd4a1 commit fd4b138
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install conan and lcov
run: |
sudo apt-get install -yq --no-install-recommends lcov
sudo pip install conan==1.62.0
sudo pip install conan==1.62.0 coverage
- name: Setup Conan Profile
run: |
conan profile new default --detect
Expand Down Expand Up @@ -67,7 +67,10 @@ jobs:
source deactivate_conanrun.sh
lcx="lcov --output-file=coverage.info " && for i in `find . -name "*.info.cleaned"`; do lcx+=" --add-tracefile=$i"; done && $lcx
- name: Codecov
uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457
uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c #v4.4.1
if: github.repository_owner == 'apache'
with:
files: build/coverage.info
disable_search: true
name: codecov-celix
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
coverage:
precision: 2
round: down
range: "68...100"
range: "68...100"

0 comments on commit fd4b138

Please sign in to comment.