File tree Expand file tree Collapse file tree 3 files changed +62
-1
lines changed Expand file tree Collapse file tree 3 files changed +62
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Test
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout repository
15+ uses : actions/checkout@v3
16+
17+ - name : Set up JDK 17
18+ uses : actions/setup-java@v3
19+ with :
20+ distribution : ' temurin'
21+ java-version : ' 17'
22+
23+ - name : Build with Gradle
24+ run : ./gradlew build
Original file line number Diff line number Diff line change 1+ name : Upload coverage to Codecov
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ jobs :
10+ test-and-report :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout repository
15+ uses : actions/checkout@v3
16+
17+ - name : Set up JDK 17
18+ uses : actions/setup-java@v3
19+ with :
20+ distribution : ' temurin'
21+ java-version : ' 17'
22+
23+ - name : Build and generate coverage
24+ run : ./gradlew jacocoTestReport
25+
26+ - name : Upload coverage to Codecov
27+ uses : codecov/codecov-action@v3
28+ with :
29+ token : ${{ secrets.CODECOV_TOKEN }}
30+ files : ./build/reports/jacoco/test/jacocoTestReport.xml
Original file line number Diff line number Diff line change 1- # Spring Batch3 Starter - Accelerate Your Spring Boot 3 Batch Development🚀
1+ Spring Batch3 Starter - Accelerate Your Spring Boot 3 Batch Development🚀
2+ =============================
3+ [ ![ Build Status] ( https://github.com/KTC-YoheiMiyashita/SpringBoot3BatchStarter/actions/workflows/build.yml/badge.svg )] ( https://github.com/<your-username>/<your-repo-name>/actions/workflows/build.yml )
4+
5+ [ ![ Coverage Status] ( https://codecov.io/gh/KTC-YoheiMiyashita/SpringBoot3BatchStarter/branch/main/graph/badge.svg )] ( https://codecov.io/gh/KTC-YoheiMiyashita/SpringBoot3BatchStarter )
6+
7+ [ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-yellow.svg )] ( https://opensource.org/licenses/MIT )
8+
29
310## Overview / 概要
411
You can’t perform that action at this time.
0 commit comments