git » gofer » commit aeb3e58

github: Upload coverage results to codecov.io

author Alberto Bertogli
2023-08-02 15:30:16 UTC
committer Alberto Bertogli
2023-08-04 00:34:21 UTC
parent fc1d0d9fe914fcbc54163f97314c29ec3d5966f8

github: Upload coverage results to codecov.io

.github/workflows/tests.yaml +7 -1

diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index a9086f8..7213b20 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -30,8 +30,14 @@ jobs:
       - name: make cover
         run: make cover
         timeout-minutes: 2
-      - name: upload coverage
+      - name: upload coverage goveralls
         run: goveralls -coverprofile=.cover/merged.out -repotoken=${{ secrets.COVERALLS_TOKEN }}
+      - name: upload coverage codecov
+        uses: codecov/codecov-action@v3
+        with:
+          files: .cover/merged.out
+        env:
+          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
 
       # Upload the contents of test/ if there are failures, for
       # troubleshooting. Note we need to tar them first because github has