Actions: Added skip list, skip LittleVGL sources.

This commit is contained in:
imi415 2021-07-27 07:31:32 +00:00
parent 680ba3f068
commit 40a995e18f
2 changed files with 6 additions and 6 deletions

1
.codechecker-skip.txt Normal file
View File

@ -0,0 +1 @@
-*lib/LittleVGL/src/*

View File

@ -32,18 +32,13 @@ jobs:
working-directory: "build" working-directory: "build"
- name: "Run CodeChecker" - name: "Run CodeChecker"
run: "codechecker analyze compile_commands.json -o results" run: "codechecker analyze compile_commands.json -o results --ignore ../.codechecker-skip.txt"
working-directory: "build" working-directory: "build"
- name: "Generate HTML reports" - name: "Generate HTML reports"
run: "codechecker parse -e html ./results -o ./report" run: "codechecker parse -e html ./results -o ./report"
working-directory: "build" working-directory: "build"
- name: "Dump report to stderr"
run: "codechecker parse --print-steps ./results"
working-directory: "build"
continue-on-error: true
- name: "Save HTML reports to artifact" - name: "Save HTML reports to artifact"
uses: "actions/upload-artifact@v2" uses: "actions/upload-artifact@v2"
with: with:
@ -51,3 +46,7 @@ jobs:
path: "build/report" path: "build/report"
retion-days: 30 retion-days: 30
- name: "Dump report to stderr"
run: "codechecker parse --print-steps ./results"
working-directory: "build"