mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-04-29 22:27:33 +00:00
[Update] Project 更新 maven-test workflow 以添加 Codecov 测试覆盖率报告收集分析器;
[Update] maven-test.yml 添加 Codecov step;
This commit is contained in:
parent
27c5b49479
commit
0c7e5467c8
10
.github/workflows/maven-test.yml
vendored
10
.github/workflows/maven-test.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user