diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5d6a946a..c300e8e0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -86,7 +86,8 @@ jobs: done # Combine the coverage data from the demo and make an XML report coverage_data=$(mktemp) - coverage combine --data-file "${coverage_data}" "${DIRACX_DEMO_DIR}"/coverage-reports/* + sudo chown -R $(id -u) "${DIRACX_DEMO_DIR}"/coverage-reports/ + coverage combine --keep --data-file "${coverage_data}" "${DIRACX_DEMO_DIR}"/coverage-reports/* coverage xml -o coverage-demo.xml --data-file "${coverage_data}" - name: Upload coverage report uses: codecov/codecov-action@v3.1.4