mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 05:29:29 +08:00
cfb103f2ae
This reverts commit 811b9fd533
.
31 lines
637 B
YAML
31 lines
637 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- v3.*
|
|
pull_request:
|
|
branches:
|
|
- v3.*
|
|
|
|
name: MeterSphere 覆盖率统计
|
|
|
|
permissions:
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
generic_handler:
|
|
name: 覆盖率统计
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Set up JDK 21
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
distribution: 'zulu'
|
|
java-version: 21
|
|
- name: Build with Maven
|
|
run: mvn -B package --file pom.xml
|
|
- name: Upload coverage reports to Codecov
|
|
uses: codecov/codecov-action@v3
|
|
with:
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|