Add Codecov to CI

This will upload the code coverage to codecov.io, which is integrated
with the GitHub repository.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
Mcat12
2019-06-04 21:52:08 -07:00
parent ece915b515
commit 8545f2a0f9
+5
View File
@@ -50,6 +50,11 @@ jobs:
chmod +x ./FTL-client
./FTL-client "$FOLDER" pihole-web.tar.gz "$FTL_SECRET"
rm ./FTL-client
- run:
name: "Upload Code Coverage"
command: |
npm install codecov -g
codecov
- save_cache:
key: v1-build-{{ checksum "package-lock.json" }}
paths: