Skip to content

fix: 테스트 시 Too many connections 오류 해결 #5

fix: 테스트 시 Too many connections 오류 해결

fix: 테스트 시 Too many connections 오류 해결 #5

Workflow file for this run

name: Spring Boot Test
on:
pull_request:
branches: master
push:
branches: master
tags: [v*]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Save secrets as .env file
run: |
echo $SECRETS_CONTEXT | jq -r 'to_entries[] | "\(.key)=\(.value)\n"' > src/main/resources/.env
env:
SECRETS_CONTEXT: ${{toJSON(secrets)}}
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Run Gradle Test
run: ./gradlew test
env:
SPRING_PROFILES_ACTIVE: dev