Add codecov config

This commit is contained in:
Paweł Bylica 2018-07-24 22:27:08 +02:00
parent ae0959ae12
commit 3f2539de04
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
2 changed files with 19 additions and 1 deletions

View File

@ -200,7 +200,7 @@ jobs:
command: build/test/soltest -t 'syntaxTest*' -- --no-ipc --testpath test
- run:
name: Coverage of type checker
command: codecov --flags type_checker --gcov-root build
command: codecov --flags syntax --gcov-root build
- run: *run_tests
- run:
name: Coverage of all

18
codecov.yml Normal file
View File

@ -0,0 +1,18 @@
codecov:
branch: develop
coverage:
range: 70...100
status:
project:
default:
target: auto
paths: "!test/"
syntax:
target: auto
paths: "libsolidity/analysis"
flags: syntax
tests:
target: auto
paths: "test/"
comment:
layout: "reach, diff, flags"