Skip to content

feat: 팝업스토어 및 태그 구현 #13

feat: 팝업스토어 및 태그 구현

feat: 팝업스토어 및 태그 구현 #13

name: backend-test
on:
pull_request:
branches:
- develop
paths:
- backend/**
- .github/**
permissions:
contents: read
jobs:
test:
name: backend-ci-test
runs-on: ubuntu-latest
environment: test
defaults:
run:
working-directory: ./backend
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Gradle Caching
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Test with Gradle
run: ./gradlew :pcloud-api:test