Skip to content

Commit

Permalink
refs #183 Новый способ взаимодействия с codecov.io
Browse files Browse the repository at this point in the history
1. Использование Github Actions;
2. Использование токена.
  • Loading branch information
izvolov committed Aug 24, 2024
1 parent 049e47f commit 5cc8374
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,17 @@ jobs:
run: |
cmake --build Build/burst --target coverage
- name: Publish coverage to codecov
- name: Prepare coverage report
run: |
lcov --version
lcov --capture --directory Build/burst --output-file coverage.info
lcov --remove coverage.info "/usr/*" --output-file coverage.info
lcov --remove coverage.info "*/test/*" --output-file coverage.info
bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov did not collect coverage reports"
- name: Publish coverage report
uses: codecov/codecov-action@v4
with:
file: coverage.info
token: ${{secrets.CODECOV}}
disable_search: true
verbose: true

0 comments on commit 5cc8374

Please sign in to comment.