Deploy: PR 생성시 테스트코드 수행 로직 구현 #2
Workflow file for this run
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: Run Tests on Pull Request | |
on: | |
pull_request: | |
branches: | |
- Weekly | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Run Tests | |
env: | |
JWT_SECRET: ${{ secrets.JWT_SECRET }} | |
run: ./gradlew test |