Skip to content

Commit a03857e

Browse files
committed
add: reactivate codecov
1 parent 24ce90b commit a03857e

File tree

3 files changed

+36
-1
lines changed

3 files changed

+36
-1
lines changed

.codecov.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ignore:
2+
- example/**/*
3+
- tests/**/*
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Code Coverage
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'README.md'
7+
- 'doc/**'
8+
pull_request:
9+
paths-ignore:
10+
- 'README.md'
11+
- 'doc/**'
12+
13+
jobs:
14+
code-coverage:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
20+
- run: cmake -E make_directory build
21+
22+
- working-directory: build/
23+
run: cmake $GITHUB_WORKSPACE -DEXT_DOWNLOAD=ON -DLIBEXT_TESTS=ON -DLIBEXT_TESTS_NO_TIME_CRITICAL=ON -DCMAKE_CXX_FLAGS="-coverage" -DCLANG_ANALYZE=ON
24+
25+
- working-directory: build/
26+
run: cmake --build .
27+
28+
- working-directory: build/
29+
run: ctest -VV --output-on-failure
30+
31+
- working-directory: build/
32+
run: bash <(curl -s https://codecov.io/bash)

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
|cpp| |mit|
1+
|cpp| |mit| |codecov|
22

33
basics
44
======

0 commit comments

Comments
 (0)