Skip to content

Commit 9d41abd

Browse files
committed
Add codecov for github actions.
1 parent 6027d5c commit 9d41abd

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/maven.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,15 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v1
11+
- uses: actions/checkout@v2
1212
- name: Set up JDK 1.8
1313
uses: actions/setup-java@v1
1414
with:
1515
java-version: 1.8
1616
- name: Build with Maven
17-
run: mvn test --file pom.xml -B
17+
run: mvn test jacoco:report --file pom.xml -B
18+
19+
- uses: codecov/codecov-action@v1
20+
with:
21+
file: ./**/target/site/jacoco/jacoco.xml
22+
name: codecov

0 commit comments

Comments
 (0)