Merge pull request #4563 from ethereum/codecov-config

Add codecov config
This commit is contained in:
chriseth 2018-08-07 12:55:47 +02:00 committed by GitHub
commit d0bfe4b225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 command: build/test/soltest -t 'syntaxTest*' -- --no-ipc --testpath test
- run: - run:
name: Coverage of type checker name: Coverage of type checker
command: codecov --flags type_checker --gcov-root build command: codecov --flags syntax --gcov-root build
- run: *run_tests - run: *run_tests
- run: - run:
name: Coverage of all 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"