Skip to content

Commit

Permalink
Migrate from codecov bash uploader to github action.
Browse files Browse the repository at this point in the history
  • Loading branch information
mity committed Jan 21, 2024
1 parent fcd3ca1 commit 36693ab
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@ jobs:
run: make VERBOSE=1
- name: Test
run: ./scripts/run-tests.sh
- name: Code Coverage Report
if: ${{ github.event_name == 'push' }}
continue-on-error: true
- name: Create coverage report
run: |
sudo apt-get install -y lcov
lcov --directory . --capture --output-file coverage.info
lcov --remove coverage.info '/usr/*' --output-file coverage.info
lcov --list coverage.info
bash <(curl -s https://codecov.io/bash)
- name: Upload coverage report
uses: codecov/codecov-action@v3

windows-32:
runs-on: windows-latest
Expand Down

0 comments on commit 36693ab

Please sign in to comment.