Skip to content

Commit 74ab710

Browse files
authored
Merge pull request #519 from qiniu/open-java-1
ASLAN-6794 add codecov
2 parents 6567d17 + dcec6d2 commit 74ab710

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci-test.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,13 @@ jobs:
2727
QINIU_LINKING_APPID: ${{ secrets.QINIU_LINKING_APPID }}
2828
QINIU_SECRET_KEY: ${{ secrets.QINIU_SECRET_KEY }}
2929
QINIU_TEST_ENV: travis
30-
run:
30+
run: |
3131
./gradlew build --stacktrace --info
32+
./gradlew test -d
33+
./gradlew jacocoTestReport
34+
35+
- name: Upload coverage to Codecov
36+
uses: codecov/[email protected]
37+
with:
38+
token: ${{secrets.CODECOV_TOKEN}}
39+
file: build/reports/jacoco/test/jacocoTestReport.xml

0 commit comments

Comments
 (0)