File: .codecov.yml

package info (click to toggle)
quantlib 1.41-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 41,480 kB
  • sloc: cpp: 400,885; makefile: 6,547; python: 214; sh: 150; lisp: 86
file content (27 lines) | stat: -rw-r--r-- 865 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
coverage:
  precision: 1
  # We put red at 50 to have a chance at some non-red build.
  # I would be happy with 80 right now, so that's where the target is.
  range: 50...80

ignore:
  - "test-suite"
  - "Examples"



# The process to get a correct report is a bit fiddly.
# This worked in the past, and is added here for reference:
#
# - clone the repo and mount it in a recent quantlib-devenv image;
# - run the following:
#
#       apt update && apt install -y lcov curl git
#       mkdir build
#       cd build
#       CXXFLAGS='-O1 -fprofile-arcs -ftest-coverage' LDFLAGS='-lgcov' cmake ..
#       CXXFLAGS='-O1 -fprofile-arcs -ftest-coverage' LDFLAGS='-lgcov' make -j 4
#       ./test-suite/quantlib-test-suite --log_level=message
#       bash <(curl -s https://codecov.io/bash) -t @cc_token
#
#   where the file `cc_token` contains the Codecov upload token.