mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-02 03:48:05 +08:00
Upload coverage to Codecov
This commit is contained in:
parent
5df58cb4ee
commit
cd705f266e
17
.github/workflows/codecov.yml
vendored
Normal file
17
.github/workflows/codecov.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
name: codecov
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v1
|
4
.github/workflows/package-testing.yml
vendored
4
.github/workflows/package-testing.yml
vendored
@ -35,9 +35,7 @@ jobs:
|
||||
distribution: 'temurin'
|
||||
cache: maven
|
||||
- name: Build with Maven
|
||||
run: mvn -B package && mvn cobertura:cobertura
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
run: mvn -B package
|
||||
#file: ./zhuzhu-project/target/site/jacoco/jacoco.xml
|
||||
# run: |
|
||||
# docker buildx create --use
|
||||
|
Loading…
Reference in New Issue
Block a user