Skip to content

Commit

Permalink
chore: github action 테스트 전략 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
DWL21 committed Feb 14, 2025
1 parent 2a20bda commit 03c86a6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/dev-ci.yml → .github/workflows/dev-pr.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Dev - Build
name: Dev - Test

on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]

Expand Down Expand Up @@ -32,4 +30,4 @@ jobs:
run: |
echo ${{ secrets.APPLICATION_DEV_YML }} | base64 --decode > ./src/main/resources/application-dev.yml
echo ${{ secrets.APPLICATION_YML_DEV_MODE }} | base64 --decode > ./src/main/resources/application.yml
./gradlew clean build
./gradlew clean test
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@ jobs:
mv build/libs/soongpt-0.0.1-SNAPSHOT.jar yourssu-soongpt-application.jar
scp -i private_key.pem yourssu-soongpt-application.jar ubuntu@$HOST:/home/ubuntu/soongpt-api
ssh -i private_key.pem ubuntu@$HOST "/home/ubuntu/soongpt-api/run.sh"
- name: Run Tests
run: |
./gradlew test
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
run: |
echo ${{ secrets.APPLICATION_PROD_YML }} | base64 --decode > ./src/main/resources/application-prod.yml
echo ${{ secrets.APPLICATION_YML_PROD_MODE }} | base64 --decode > ./src/main/resources/application.yml
./gradlew clean build
./gradlew clean test
File renamed without changes.

0 comments on commit 03c86a6

Please sign in to comment.