hotfix : batch 테스트 코드도 수정한다 #103
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: Backend Server CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
- develop | |
types: [opened, synchronize] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: action checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Run tests with Gradle | |
env: | |
SPRING_PROFILES_ACTIVE: test | |
run: ./gradlew test |