Browse Source

Explicitly tell codeclimate the coverage format

master
Futago-za Ryuu 3 years ago
parent
commit
9d381f0a09
  1. 4
      azure-pipelines.yml

4
azure-pipelines.yml

@ -36,13 +36,13 @@ steps:
if [ $? -eq 0 ]
then
echo '"yarn ci" passed, publishing to code climate.'
./cc-test-reporter after-build --exit-code 0
./cc-test-reporter after-build --coverage-input-type lcov --exit-code 0
echo 'Publishing code coverage results to coveralls.io'
yarn coverage
exit 0
else
echo '"yarn ci" failed, publishing to code climate.'
./cc-test-reporter after-build --exit-code 1
./cc-test-reporter after-build --coverage-input-type lcov --exit-code 1
exit 1
fi
displayName: 'eslint > mocha > codeclimate & coveralls'

Loading…
Cancel
Save