File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,19 @@ 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)
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
4046
4147 - name : Upload Maven build artifact
4248 uses : actions/upload-artifact@v1
You can’t perform that action at this time.
0 commit comments