[Refactor/#465] allure 결과 서브 모듈에 미반영 수정 #250
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: Validate Test | |
on: | |
pull_request: | |
branches: [ "main", "dev" ] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
env: | |
EMAIL_PASSWORD: ${{ secrets.EMAIL_PASSWORD }} | |
jobs: | |
setup-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Cache Gradle | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
api-test: | |
needs: setup-test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Jooq Code Generation | |
run: | | |
./gradlew jooqCodegenAll | |
- name: API Test with Gradle | |
run: | | |
./gradlew api:test |