๐ [comment] todo ์ฃผ์ ์ถ๊ฐ #77
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: CI with Gradle | |
| on: | |
| push: | |
| branches-ignore: | |
| - main | |
| - develop | |
| jobs: | |
| CI: | |
| name: Continuous Integration | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout with submodules | |
| uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.ACCESS_TOKEN }} | |
| submodules: recursive | |
| fetch-depth: 0 | |
| - name: Update git submodules | |
| run: git submodule update --init --recursive | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Verify Backend_Config files | |
| run: ls -al Backend_Config | |
| - name: Build and Test with Gradle Wrapper | |
| env: | |
| SPRING_PROFILES_ACTIVE: test | |
| run: | | |
| echo "โถ Running Gradle build and test..." | |
| ./gradlew --no-daemon clean build test --info --stacktrace | |
| - name: Show test results summary | |
| if: success() | |
| run: | | |
| echo "All Spring Boot tests passed successfully!" | |
| - name: Mark failure if tests failed | |
| if: failure() | |
| run: | | |
| echo "Tests failed. Please check the test logs for detail" | |
| exit 1 |