Skip to content

Redis 타임아웃 설정 #84

Redis 타임아웃 설정

Redis 타임아웃 설정 #84

Workflow file for this run

name: crews backend ci
on:
pull_request:
branches: [ "dev", "main" ]
workflow_call:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.ACTION_TOKEN }}
submodules: true
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Cache Gradle dependencies
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
gradle-${{ runner.os }}-
- name: Set up MySQL
uses: mirromutth/[email protected]
with:
mysql database: 'crews'
mysql user: ${{ secrets.TEST_DB_USERNAME }}
mysql password: ${{ secrets.TEST_DB_PASSWORD }}
- name: Set up Redis And Redis Stack
uses: hoverkraft-tech/[email protected]
with:
compose-file: "./docker-compose-local.yml"
- name: Run Test
run: ./gradlew clean test