Skip to content

Commit 0d53889

Browse files
committed
Add Codecov support
1 parent 79b5ea4 commit 0d53889

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Diff for: .github/workflows/maven.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,13 @@ jobs:
5757
java-version: ${{ matrix.java }}
5858
- name: Build with Maven
5959
run: mvn -B -e -V -DskipTests verify
60-
# - name: Codecov
61-
# uses: codecov/codecov-action@v1
60+
- name: Codecov
61+
uses: codecov/codecov-action@v5
62+
with:
63+
token: ${{ secrets.CODECOV_TOKEN }}
64+
- name: Upload test results to Codecov
65+
if: ${{ !cancelled() }}
66+
uses: codecov/test-results-action@v1
67+
with:
68+
token: ${{ secrets.CODECOV_TOKEN }}
69+
files: **/target/*-reports/TEST-*.xml

0 commit comments

Comments
 (0)