diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index c580239..05b284a 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -57,8 +57,11 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x ./gradlew - - name: Build - run: ./gradlew build + - name: Build with Gradle + run: ./gradlew build -x test + + - name: Test with Gradle + run: SPRING_PROFILES_ACTIVE=[test] ./gradlew test - name: docker image build run: docker build -t ${{ secrets.DOCKER_HUB_USERNAME }}/zero-plate-api .