Skip to content

Commit

Permalink
github-actions: fix codecov for unittests
Browse files Browse the repository at this point in the history
Don't overwrite ut coverage with later tests.
  • Loading branch information
victorjulien committed Nov 29, 2024
1 parent bd7d38e commit 3f45c1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1517,11 +1517,11 @@ jobs:
- run: ./src/suricata --list-keywords -l /tmp
env:
LLVM_PROFILE_FILE: "/tmp/lk.profraw"
- run: llvm-profdata-14 merge -o ut.profdata /tmp/lk.profraw
- run: llvm-profdata-14 merge -o lk.profdata /tmp/lk.profraw
- run: ./src/suricata --list-app-layer-protos -l /tmp
env:
LLVM_PROFILE_FILE: "/tmp/la.profraw"
- run: llvm-profdata-14 merge -o ut.profdata /tmp/la.profraw
- run: llvm-profdata-14 merge -o la.profdata /tmp/la.profraw
- run: llvm-cov-14 show ./src/suricata -instr-profile=ut.profdata --show-instantiations --ignore-filename-regex="^/root/.*" > coverage.txt
- run: |
cd rust
Expand Down

0 comments on commit 3f45c1b

Please sign in to comment.