[fix]: 채팅 목록 조회 수정 #88
Workflow file for this run
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: Run Spring Boot Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| - "fix/**" | |
| pull_request: | |
| branches: | |
| - main | |
| - develop | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v2 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - name: Create application.properties from secret | |
| run: | | |
| mkdir -p src/main/resources | |
| echo "$APPLICATION" > src/main/resources/application.properties | |
| env: | |
| APPLICATION: ${{ secrets.APPLICATION }} | |
| - name: Grant execute permission to Gradle | |
| run: chmod +x gradlew | |
| - name: Run tests | |
| run: ./gradlew test | |
| - name: Upload test results (optional) | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-results | |
| path: build/test-results/test |