pull coverage from index.js

master
rasul 5 years ago
parent 3e08364cd5
commit eba9edd23f

@ -16,7 +16,7 @@ cov:
script:
- cargo build
- 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
- mv target/cov public/
artifacts:

Loading…
Cancel
Save