pull coverage from index.js

master
rasul 5 years ago
parent 3e08364cd5
commit eba9edd23f

@ -16,7 +16,7 @@ cov:
script: script:
- cargo build - cargo build
- cargo kcov - cargo kcov
- COVERAGE=$(grep -Po 'covered":.*?[^\\]"' target/cov/index.json | grep "[0-9]*\.[0-9]" -o) - COVERAGE=$(grep -Po 'covered":.*?[^\\]"' target/cov/index.js | grep "[0-9]*\.[0-9]" -o)
- echo "Coverage:" $COVERAGE - echo "Coverage:" $COVERAGE
- mv target/cov public/ - mv target/cov public/
artifacts: artifacts:

Loading…
Cancel
Save