Skip to content

Commit 3d0de14

Browse files
committed
add codecov
1 parent e8161ea commit 3d0de14

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/demo-workflow.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,16 @@ jobs:
3030
- name: Build with Maven
3131
run: mvn -B package --file pom.xml -Dmaven.test.skip=true
3232

33+
- uses: codecov/codecov-action@v1
34+
with:
35+
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
36+
file: ./coverage.xml # optional
37+
flags: unittests # optional
38+
name: codecov-umbrella # optional
39+
fail_ci_if_error: true # optional (default = false)
40+
3341
- name: Upload Maven build artifact
3442
uses: actions/upload-artifact@v1
3543
with:
3644
name: artifact
37-
path: workflow-github-actions/target/workflow-github-actions-1.0-SNAPSHOT.jar
45+
path: target/workflow-github-actions-1.0-SNAPSHOT.jar

0 commit comments

Comments
 (0)