diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7881953..2844935 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -63,3 +63,9 @@ jobs: - name: Run test cover run: sh helper/test-cover.sh + - name: Upload to codecov + uses: codecov/codecov-action@v3 + with: + files: ./coverage.txt # optional + fail_ci_if_error: true # optional (default = false) + verbose: true # optional (default = false) diff --git a/helper/test-cover.sh b/helper/test-cover.sh index 804eefc..5405697 100755 --- a/helper/test-cover.sh +++ b/helper/test-cover.sh @@ -10,4 +10,4 @@ done # go tool cover -html=coverage.txt -curl -s https://codecov.io/bash | bash +# curl -s https://codecov.io/bash | bash