move codecov upload to github workflow

This commit is contained in:
Hongchao Deng
2020-10-16 16:44:35 -07:00
parent 62de2e4d50
commit 4fa3fb6486
2 changed files with 8 additions and 3 deletions
+8
View File
@@ -35,3 +35,11 @@ jobs:
- name: Run Make test
run: make test
- name: Upload coverage report
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
flags: unittests
name: codecov-umbrella
-3
View File
@@ -10,6 +10,3 @@ for d in $(go list ./pkg/... ./cmd/...); do
rm profile.out
fi
done
bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN