Skip to content

Instantly share code, notes, and snippets.

@ianwelerson
Last active July 28, 2022 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ianwelerson/efbd3e91a0afd34dbf8fcf618e91c04a to your computer and use it in GitHub Desktop.
Save ianwelerson/efbd3e91a0afd34dbf8fcf618e91c04a to your computer and use it in GitHub Desktop.
fix lcov.info paths for sonarqube scan collect coverage
- name: Download test coverage artifacts
uses: actions/download-artifact@v3
with:
name: coverage
path: coverage
- name: Fix code coverage paths
working-directory: coverage
run: |
sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' lcov.info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment