Skip to content

[BE] FE λ ˆκ±°μ‹œ μ½”λ“œκ°€ λ‚¨μ•„μžˆλŠ” 문제 ν•΄κ²° #573

[BE] FE λ ˆκ±°μ‹œ μ½”λ“œκ°€ λ‚¨μ•„μžˆλŠ” 문제 ν•΄κ²°

[BE] FE λ ˆκ±°μ‹œ μ½”λ“œκ°€ λ‚¨μ•„μžˆλŠ” 문제 ν•΄κ²° #573

Workflow file for this run

name: Coduo Backend Production Server CI
on:
pull_request:
branches: [ "BE/dev", "BE/test", "production" ]
jobs:
build-and-test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend
steps:
- name: checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'corretto'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-write-only: true
- name: Set up Test MySQL
uses: mirromutth/[email protected]
with:
host port: ${{ secrets.TEST_DB_PORT }}
container port: ${{ secrets.TEST_DB_PORT }}
mysql database: ${{ secrets.TEST_DB_NAME }}
mysql root password: ${{ secrets.TEST_DB_PASSWORD }}
- name: Make test application.yml
run: |
rm -rf ./src/main/resources/application.yml
touch ./src/main/resources/application.yml
echo ${{ secrets.BE_TEST_YML }} | base64 --decode > ./src/main/resources/application.yml
shell: bash
- name: Grant Execute Permission For Gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew bootJar
- name: Running Test Code
run: ./gradlew --info test