Skip to content

M3-418 알림 시스템 구현 #202

M3-418 알림 시스템 구현

M3-418 알림 시스템 구현 #202

Workflow file for this run

name: BackEnd CI
on:
pull_request:
branches:
- develop
jobs:
build_and_test:
runs-on: ubuntu-20.04
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: 우분투 기본 MySQL 중지
run: sudo service mysql stop
- name: 테스트를 위한 MySQL 컨테이너 구동
uses: mirromutth/[email protected]
with:
mysql version: '8.0'
mysql database: 'groundflip_test'
mysql root password: 'root'
mysql user: 'root'
- name: 테스트를 위한 Redis 구동
run: sudo docker run -d --name redis -p 6378:6379 redis:latest
- name: JDK 17 설치
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'corretto'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5
- name: Grant execute permission to gradlew
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Comment test coverage on PR
id: jacoco
uses: madrapps/[email protected]
with:
title: 📝 테스트 커버리지 리포트
paths: ${{ github.workspace }}/build/jacocoReport/test/jacocoTestReport.xml
token: ${{ secrets.GITHUB_TOKEN }}
update-comment: true
min-coverage-overall: 70