Commit 2ee5a8d6 authored by Benjamin Cabé's avatar Benjamin Cabé Committed by Benjamin Cabé
Browse files

ci: workflows: doc: change working directory for codecov upload



Currently the workflow is correctly uploading to codecov but all the
paths are prefixed with an extra `zephyr/`.
Use the `working-directory` parameter to ensure the paths are correct,
and also ensure that only the new.info file is ever processed.

Tested locally by doing the equivalent of what the action now does
using the codecov CLI and I was able to both reproduce the bug as well
as confirm the fix.

Signed-off-by: default avatarBenjamin Cabé <benjamin@zephyrproject.org>
parent 81413f07
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -172,7 +172,9 @@ jobs:
        fail_ci_if_error: false
        verbose: true
        token: ${{ secrets.CODECOV_TOKEN }}
        files: zephyr/new.info
        working-directory: zephyr
        files: new.info
        disable_search: true
        flags: doxygen-coverage

    - name: process-pr