Skip to content

Commit

Permalink
Merge pull request #519 from qiniu/open-java-1
Browse files Browse the repository at this point in the history
ASLAN-6794 add codecov
  • Loading branch information
bachue authored Apr 21, 2021
2 parents 6567d17 + dcec6d2 commit 74ab710
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,13 @@ jobs:
QINIU_LINKING_APPID: ${{ secrets.QINIU_LINKING_APPID }}
QINIU_SECRET_KEY: ${{ secrets.QINIU_SECRET_KEY }}
QINIU_TEST_ENV: travis
run:
run: |
./gradlew build --stacktrace --info
./gradlew test -d
./gradlew jacocoTestReport
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1.0.2
with:
token: ${{secrets.CODECOV_TOKEN}}
file: build/reports/jacoco/test/jacocoTestReport.xml

0 comments on commit 74ab710

Please sign in to comment.