1
0
mirror of synced 2024-11-24 07:40:17 +01:00

git: Skip codecov CI step if token isn't set

This commit is contained in:
WerWolv 2024-08-03 18:22:13 +02:00
parent d69ae39b6f
commit c6065808a7

View File

@ -73,6 +73,9 @@ jobs:
gcovr --gcov-executable /usr/bin/gcov-12 -r . build --xml coverage_report.xml --verbose
- name: Upload coverage reports to Codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
if: ${{ env.CODECOV_TOKEN }}
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true