✅ AccountService 테스트 코틀린 전환 #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#name : 경기요 서버 CI | |
# | |
#on: | |
# push: | |
# branches: | |
# - dev | |
# | |
#jobs: | |
# test: | |
# runs-on: ubuntu-latest | |
# | |
# permissions: | |
# checks: write | |
# pull-requests: write | |
# | |
# steps: | |
# - name: 레포지토리 체크아웃 | |
# uses: actions/checkout@v3 | |
# | |
# - name: 환경변수 파일 생성 | |
# run: echo "test" >> .env | |
# working-directory: kyonggiyo-api/src/main/resources | |
# | |
# - name: Gralde 캐싱 | |
# id: gradle-cache | |
# uses: actions/cache@v3 | |
# with: | |
# path: | | |
# ~/.gradle/caches | |
# ~/.gradle/wrapper | |
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
# restore-keys: | | |
# ${{ runner.os }}-gradle- | |
# | |
# - if: steps.gradle-cache.outputs.cache-hit == 'true' | |
# run: echo 'gradle cache hit!' | |
# - if: steps.gradle-cache.outputs.cache-hit != 'true' | |
# run: echo 'gradle cache missed!' | |
# | |
# - name: JDK 17 설치 | |
# uses: actions/setup-java@v3 | |
# with: | |
# java-version: '17' | |
# distribution: 'temurin' | |
# cache: gradle | |
# | |
# - name: Gradle 권한 부여 | |
# run: chmod +x gradlew | |
# | |
# - name: Gradle 테스트 실행 | |
# run: ./gradlew test | |
# | |
# - name: CI 결과를 Slack으로 전송 | |
# uses: 8398a7/action-slack@v3 | |
# with: | |
# status: ${{ job.status }} | |
# author_name: CI 결과 알림 | |
# fields: repo, message, commit, author, action, eventName, ref, workflow, job, took | |
# env: | |
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
# if: always() |