Skip to content

Commit

Permalink
test: make coverage information more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonTian authored and yndu13 committed Jun 12, 2024
1 parent 8bbe1a7 commit 421f1f9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ jobs:
java: [ 8, 11 ]
name: Java ${{ matrix.Java }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup java
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- name: Test with Maven
run: mvn test -B -f ./aliyun-java-sdk-core/pom.xml
- name: Post test coverage
run: bash <(curl -s https://codecov.io/bash) -cF java
- name: Upload Coverage Report
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }} # required

0 comments on commit 421f1f9

Please sign in to comment.