mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-05 21:38:20 +08:00
23 lines
514 B
YAML
23 lines
514 B
YAML
name: codecov2
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up JDK 8
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
java-version: '8'
|
|
distribution: 'temurin'
|
|
cache: maven
|
|
- name: Build with Maven cobertura
|
|
run: mvn cobertura:cobertura -Pcobertura
|
|
- name: Upload coverage to Codecov
|
|
uses: codecov/codecov-action@v2 |