diff --git a/.github/workflows/gradle-CI.yml b/.github/workflows/gradle-CI.yml index 3e1f60c1..c997a05f 100644 --- a/.github/workflows/gradle-CI.yml +++ b/.github/workflows/gradle-CI.yml @@ -1,6 +1,7 @@ name: CI With Pull Request on: + push: pull_request: types: [opened, reopened] @@ -19,23 +20,17 @@ jobs: uses: actions/setup-java@v3 with: java-version: '17' - distribution: 'adopt' + distribution: 'temurin' cache: 'gradle' - name: Grant execute permission for gradlew run: chmod +x ./gradlew - - name: Build JAR - run: ./gradlew bootJar -Dspring.profiles.active=dev + - name: Test + run: ./gradlew test - name: Generate JUnit test results as a comment uses: EnricoMi/publish-unit-test-result-action@v2 - if: ${{ always() }} - with: - files: '**/build/test-results/**/*.xml' - - - name: Registered comments on the failed code line when a test fails. - uses: mikepenz/action-junit-report@v3 if: always() with: - report_paths: '**/build/test-results/test/TEST-*.xml' + files: '**/build/test-results/test/TEST-*.xml' diff --git a/backend-submodule b/backend-submodule index 1e14213c..12a8c565 160000 --- a/backend-submodule +++ b/backend-submodule @@ -1 +1 @@ -Subproject commit 1e14213cb2a14b80fe73c58bd50881b5ab4fdd2b +Subproject commit 12a8c565130a65970918652f072a99e725d400df