We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e7ca6d commit ef23628Copy full SHA for ef23628
.github/workflows/build.yml
@@ -17,3 +17,7 @@ jobs:
17
- run: npm ci
18
- run: npm run test
19
- run: npm run build
20
+ - name: Uploading test coverage reports
21
+ run: |
22
+ chmod +x "${GITHUB_WORKSPACE}/scripts/codecov.sh"
23
+ "${GITHUB_WORKSPACE}/scripts/codecov.sh"
scripts/codecov.sh
@@ -0,0 +1,9 @@
1
+#!/usr/bin/env bash
2
+
3
+codecov_file="${GITHUB_WORKSPACE}/scripts/codecov.sh"
4
5
+curl -s https://codecov.io/bash > $codecov_file
6
+chmod +x $codecov_file
7
8
+file="${GITHUB_WORKSPACE}/coverage/lcov.info"
9
+$codecov_file -f $file -v -t $CODECOV_TOKEN
0 commit comments