Skip to content

Commit

Permalink
GHI #32 Ignore errors
Browse files Browse the repository at this point in the history
  • Loading branch information
doodspav committed Jul 14, 2024
1 parent 04e5b38 commit 65ef147
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,8 @@ jobs:
root_path=$(cat "${dir}/patomic.rootpath")
lcov --output-file "${dir}/patomic.lcov.include" --extract "${dir}/patomic.lcov.old" "${root_path}/patomic/include/*"
lcov --output-file "${dir}/patomic.lcov.src" --extract "${dir}/patomic.lcov.old" "${root_path}/patomic/src/*"
lcov --output-file "${dir}/patomic.lcov" --add-tracefile "${dir}/patomic.lcov.include" --add-tracefile "${dir}/patomic.lcov.src"
# ignore errors because on clang's lcov file generates error about no valid records found in include tracefile
lcov --output-file "${dir}/patomic.lcov" --ignore-errors gcov --add-tracefile "${dir}/patomic.lcov.include" --add-tracefile "${dir}/patomic.lcov.src"
done
# generate html files for each separate compilation
Expand Down

0 comments on commit 65ef147

Please sign in to comment.