ci: codecov: Fix merged coverage report path

This commit updates the codecov workflow to specify the full coverage
report file path under `files` because codecov-action v4 does not correctly
process the `directory` parameter.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
Stephanos Ioannidis 2024-05-15 21:39:34 +09:00 committed by Anas Nashif
commit 105fc79267

View file

@ -222,9 +222,8 @@ jobs:
if: always()
uses: codecov/codecov-action@v4
with:
directory: ./coverage/reports
env_vars: OS,PYTHON
fail_ci_if_error: false
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
files: merged.xml
files: coverage/reports/merged.xml