[Update] Project 更新 maven-test workflow 以添加 Codecov 测试覆盖率报告收集分析器;

[Update] maven-test.yml 添加 Codecov step;
This commit is contained in:
LamGC 2020-11-09 21:49:27 +08:00
parent 27c5b49479
commit 0c7e5467c8
Signed by: LamGC
GPG Key ID: 6C5AE2A913941E1D

View File

@ -27,3 +27,13 @@ jobs:
redis-version: latest
- name: Build with Maven
run: mvn -B test --file pom.xml
- name: Upload Coverage Report to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: .*?/target/jacoco.exec$
flags: Unit tests
name: Jacoco-Converage-Report
fail_ci_if_error: true
verbose: true