Commit 610bfdb510040d610e246e587f8de7c7c4dbcf3b

Martin Mitas 2024-01-21T16:19:31

Migrate from codecov bash uploader to github action.

diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml
index 59378b0..36b133c 100644
--- a/.github/workflows/ci-build.yml
+++ b/.github/workflows/ci-build.yml
@@ -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