[hotfix] #143 매칭 상세조회 시 본인 소유 매칭만 조회 가능하도록 검증 로직 추가 #82
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: TEST-REPORT CI | |
| on: | |
| pull_request: | |
| branches: [ "main"] | |
| permissions: | |
| checks: write | |
| pull-requests: write | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| env: | |
| JWT_SECRET_KEY: ${{ secrets.JWT_SECRET_KEY }} | |
| services: | |
| mysql: | |
| image: mysql:8.0 | |
| env: | |
| MYSQL_ROOT_PASSWORD: root | |
| MYSQL_DATABASE: testdb | |
| MYSQL_USER: testuser | |
| MYSQL_PASSWORD: testpassword | |
| ports: | |
| - 3306:3306 | |
| options: >- | |
| --health-cmd="mysqladmin ping" | |
| --health-interval=10s | |
| --health-timeout=5s | |
| --health-retries=3 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Jdk 21 | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Test with Gradle | |
| env: | |
| SPRING_DATASOURCE_URL: jdbc:mysql://localhost:3306/testdb | |
| SPRING_DATASOURCE_USERNAME: testuser | |
| SPRING_DATASOURCE_PASSWORD: testpassword | |
| SPRING_DATASOURCE_DRIVER_CLASS_NAME: com.mysql.cj.jdbc.Driver | |
| run: ./gradlew --info test | |
| - name: Publish Test Results # for test report, after implement integration test this file need modify | |
| uses : EnricoMi/publish-unit-test-result-action@v2 | |
| if: always() | |
| with: | |
| junit_files: '**/build/test-results/test/TEST-*.xml' |