Skip to content

feat: lottoTicket 도메인 정의 및 당첨 번호 입력 #103

feat: lottoTicket 도메인 정의 및 당첨 번호 입력

feat: lottoTicket 도메인 정의 및 당첨 번호 입력 #103

Workflow file for this run

name: codecov
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
env:
OS: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Generate coverage report
run: ./gradlew testCoverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
env_vars: OS
file: ./build/reports/jacoco/test/jacocoTestReport.xml