github-ci: add coveralls coverage uploads

pull/14888/head
Jason Ish 21 hours ago committed by Victor Julien
parent accaf68615
commit ccd1df99fd

@ -914,6 +914,15 @@ jobs:
fail_ci_if_error: false
files: coverage.lcov
flags: suricata-verify
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
files: coverage.lcov
format: lcov
flag-name: suricata-verify
parallel: true
fail-on-error: false
# Fedora build using Clang.
fedora-43-clang:
@ -1623,6 +1632,15 @@ jobs:
fail_ci_if_error: false
files: coverage.lcov
flags: unittests
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
files: coverage.lcov
format: lcov
flag-name: unittests
parallel: true
fail-on-error: false
ubuntu-22-04-cov-pcapunix:
name: Ubuntu 22.04 (unix socket mode coverage)
@ -1736,6 +1754,15 @@ jobs:
fail_ci_if_error: false
files: coverage.lcov
flags: pcap
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
files: coverage.lcov
format: lcov
flag-name: pcap
parallel: true
fail-on-error: false
ubuntu-22-04-cov-afpdpdk:
name: Ubuntu 22.04 (afpacket and dpdk coverage)
@ -1884,6 +1911,15 @@ jobs:
fail_ci_if_error: false
files: coverage.lcov
flags: livemode
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
files: coverage.lcov
format: lcov
flag-name: livemode
parallel: true
fail-on-error: false
ubuntu-24-04-pcap-unix:
name: Ubuntu 24.04 (pcap unix socket ASAN)
@ -2117,6 +2153,15 @@ jobs:
files: coverage.lcov
flags: netns
verbose: true
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
files: coverage.lcov
format: lcov
flag-name: netns
parallel: true
fail-on-error: false
ubuntu-24-04-asan-afpdpdk:
name: Ubuntu 24.04 (afpacket and dpdk live tests with ASAN)
@ -2333,6 +2378,34 @@ jobs:
fail_ci_if_error: false
files: coverage.lcov
flags: fuzzcorpus
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
files: coverage.lcov
format: lcov
flag-name: fuzzcorpus
parallel: true
fail-on-error: false
coveralls-finish:
name: Coveralls finish
runs-on: ubuntu-latest
if: ${{ always() }}
needs:
- fedora-43-sv-codecov
- ubuntu-24-04-cov-ut
- ubuntu-22-04-cov-pcapunix
- ubuntu-22-04-cov-afpdpdk
- ubuntu-latest-namespace-ips
- ubuntu-22-04-cov-fuzz
steps:
- name: Finalize Coveralls parallel build
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
fail-on-error: false
ubuntu-20-04-ndebug:
name: Ubuntu 20.04 (-DNDEBUG)

Loading…
Cancel
Save