Skip to content

[REFACTOR]CertificationRepository 쿼리 성능 개선 #83

[REFACTOR]CertificationRepository 쿼리 성능 개선

[REFACTOR]CertificationRepository 쿼리 성능 개선 #83

Workflow file for this run

name: Run gradlew clean test when PR
on:
pull_request:
branches: [ "main", "production" ]
jobs:
PRTest:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: make application.yml
run: |
mkdir -p src/main/resources
cp GitGet-BACK-SECRET/main/resources/application.yml src/main/resources/
cp GitGet-BACK-SECRET/main/resources/application-prod.yml src/main/resources/
cp GitGet-BACK-SECRET/main/resources/application-common.yml src/main/resources/
mkdir -p src/test/resources
cp GitGet-BACK-SECRET/test/resources/application.yml src/test/resources/
cp HGitGet-BACK-SECRET/test/resources/application-test.yml src/test/resources/
echo "Main resources contents:"
ls -la src/main/resources/
echo "Test resources contents:"
ls -la src/test/resources/
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
shell: bash
- name: Build and Test
run: ./gradlew clean test
# Test 후 Report 생성
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
junit_files: '**/build/test-results/test/TEST-*.xml'