Skip to content

Commit

Permalink
resource dir
Browse files Browse the repository at this point in the history
  • Loading branch information
petiaccja committed Apr 1, 2024
1 parent 10b6207 commit 019b3b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ jobs:
wget https://github.com/petiaccja/TemplateCoverage/releases/download/v1.1.0/TemplateCoverage_Linux_x86_64.zip
unzip TemplateCoverage_Linux_x86_64.zip
chmod +x ./TemplateCoverage_Linux_x86_64/template-coverage
python3 ./TemplateCoverage_Linux_x86_64/run_on_compile_commands.py -p ${{github.workspace}}/build/${{env.conan_preset}}/compile_commands.json ./TemplateCoverage_Linux_x86_64/template-coverage -- --format=lcov --out-file=${{github.workspace}}/template_coverage.info
export RESOURCE_DIR=$(clang++ -print-resource-dir)
python3 ./TemplateCoverage_Linux_x86_64/run_on_compile_commands.py -p ${{github.workspace}}/build/${{env.conan_preset}}/compile_commands.json ./TemplateCoverage_Linux_x86_64/template-coverage -- --format=lcov --out-file=${{github.workspace}}/template_coverage.info -extra-arg=-resource-dir=$RESOURCE_DIR
- name: Test & code coverage
working-directory: ${{github.workspace}}/build/${{ env.conan_preset }}/bin
Expand Down

0 comments on commit 019b3b8

Please sign in to comment.