Skip to content

fix : CI 워크플로우 에러 수정 #6

fix : CI 워크플로우 에러 수정

fix : CI 워크플로우 에러 수정 #6

Workflow file for this run

name: CI
on:
push:
branches: ["dev"]
jobs:
backend-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: "temurin"
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: backend/.gradle
key: ${{ runner.os }}-gradle-${{ hashFiles('backend/**/*') }}
restore-keys: ${{ runner.os }}-gradle-
- name: Grant Execute Permission For Gradlew
run: chmod +x backend/gradlew
- name: Test with Gradle
run: |
cd backend
./gradlew build --info
env:
JWT_SECRET: ${{ secrets.JWT_SECRET }}
GPT_TOKEN: ${{ secrets.GPT_TOKEN }}
JOB_KEY: ${{ secrets.JOB_KEY }}
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: PSQ Tests Result
path: PSQ-*.xml
reporter: jest-junit