Use Codecov action

This commit is contained in:
Emmanuel Engelhart 2023-03-16 14:22:06 +01:00
parent 676a5d11f5
commit 4c4969d95a
No known key found for this signature in database
GPG Key ID: 120B30D020B553D3
1 changed files with 4 additions and 8 deletions

View File

@ -133,13 +133,9 @@ jobs:
env: env:
LD_LIBRARY_PATH: "/home/runner/BUILD_${{matrix.target}}/INSTALL/lib:/home/runner/BUILD_${{matrix.target}}/INSTALL/lib${{matrix.lib_postfix}}" LD_LIBRARY_PATH: "/home/runner/BUILD_${{matrix.target}}/INSTALL/lib:/home/runner/BUILD_${{matrix.target}}/INSTALL/lib${{matrix.lib_postfix}}"
SKIP_BIG_MEMORY_TEST: 1 SKIP_BIG_MEMORY_TEST: 1
- name: Publish coverage - name: Publish coverage
shell: bash
run: |
cd $HOME/libkiwix
curl https://codecov.io/bash -o codecov.sh
bash codecov.sh -n "${OS_NAME}_${{matrix.target}}" -Z
rm codecov.sh
if: startsWith(matrix.target, 'native_') if: startsWith(matrix.target, 'native_')
env: uses: codecov/codecov-action@v3
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with:
token: ${{ secrets.CODECOV_TOKEN }}