File tree 1 file changed +13
-7
lines changed
1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,19 @@ jobs:
30
30
- name : Build with Maven
31
31
run : mvn -B package --file pom.xml -Dmaven.test.skip=true
32
32
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)
33
+ - name : generate report codecov
34
+ run : mvn cobertura:cobertura
35
+
36
+ - name : generate report codecov
37
+ run : mvn cobertura:cobertura
38
+
39
+ - name : Upload coverage
40
+ if : success()
41
+ run : |
42
+ curl -s https://codecov.io/bash | bash
43
+ env :
44
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
45
+ shell : bash
40
46
41
47
- name : Upload Maven build artifact
42
48
uses : actions/upload-artifact@v1
You can’t perform that action at this time.
0 commit comments