Skip to content

Commit

Permalink
[Feat] Run step 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
lcj1204 committed Apr 30, 2024
1 parent c39cfe6 commit ae4a202
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,29 +50,28 @@ jobs:
run: ./gradlew clean pothole-core:test

- name: Pothole [Manager] Module Build with Gradle
run: ./gradlew clean pothole-manager-api:bootJar -x test
run: ./gradlew pothole-manager-api:bootJar -x test

- name: Pothole [Manager] Module test
run: ./gradlew clean pothole-manager-api:test
run: ./gradlew pothole-manager-api:test

- name: Pothole [Worker] Module Build with Gradle
run: ./gradlew clean pothole-worker-api:bootJar -x test
run: ./gradlew pothole-worker-api:bootJar -x test

- name: Pothole [Worker] Module test
run: ./gradlew clean pothole-worker-api:test
run: ./gradlew pothole-worker-api:test

- name: 디렉토리 출력
run: |
cd ./pothole-manager-api/build/libs/
ls -l
- name: Manager 모듈 실행
if: (contains(github.head_ref, 'manager') || contains(github.head_ref, 'core'))
run: |
cd ./pothole-manager-api
ls -l
java -Dspring.profiles.active=manager-dev -jar /build/libs/*.jar
java -Dspring.profiles.active=manager-dev -jar pothole-manager-api/build/libs/*.jar
- name: worker 모듈 실행
if: (contains(github.head_ref, 'worker') || contains(github.head_ref, 'core'))
run: |
cd ./pothole-worker-api
ls -l
java -Dspring.profiles.active=worker-dev -jar /build/libs/*.jar
java -Dspring.profiles.active=worker-dev -jar pothole-manager-api/build/libs/*.jar

0 comments on commit ae4a202

Please sign in to comment.