fix(ci): Get Codecov to work again

Mainly updates the plugin
This commit is contained in:
patrick96 2024-08-01 11:26:19 +02:00 committed by Patrick Ziegler
parent 4d1758457b
commit 52ff00c28d

View File

@ -144,11 +144,16 @@ jobs:
lcov --remove cov_total.info "${PWD}/build/*" "${PWD}/tests/*" "${PWD}/lib/*" -o cov.info lcov --remove cov_total.info "${PWD}/build/*" "${PWD}/tests/*" "${PWD}/lib/*" -o cov.info
- name: Upload Coverage - name: Upload Coverage
if: ${{ matrix.polybar_build_type == 'tests' }} if: ${{ matrix.polybar_build_type == 'tests' }}
uses: codecov/codecov-action@v3 uses: codecov/codecov-action@v4
with: with:
flags: unittests flags: unittests
# We provide our own coverage files
disable_search: true
# Disable all plugins, we handle all preparations ourselves
plugins: noop
files: ./cov.info files: ./cov.info
fail_ci_if_error: true fail_ci_if_error: true
verbose: true
- name: Upload Logs - name: Upload Logs
if: failure() if: failure()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2