Skip to content

Commit

Permalink
fix(action) : test와 build 수행 분리
Browse files Browse the repository at this point in the history
  • Loading branch information
Astin01 authored May 23, 2024
1 parent 9c1a4d3 commit 021c1bc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit 021c1bc

Please sign in to comment.