Skip to content

Commit

Permalink
로그 개선
Browse files Browse the repository at this point in the history
  • Loading branch information
wisdom08 committed Feb 25, 2025
1 parent 0df3df5 commit d32ca2a
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
branches:
- master

workflow_dispatch:

jobs:
merge-master-and-test:
runs-on: ubuntu-latest
Expand All @@ -25,10 +23,20 @@ jobs:

- name: Merge master into PR branch
run: |
set -e
echo "🔄 Setting up Git config..."
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
echo "🚀 Checking out PR branch: ${{ github.head_ref }}"
git checkout ${{ github.head_ref }}
git merge origin/master --no-edit || { echo "❌ Merge conflict detected! Please resolve manually."; exit 1; }
echo "🔀 Merging master into PR branch..."
if ! git merge origin/master --no-edit; then
echo "❌ Merge conflict detected! Please resolve manually."
git status
exit 1
fi
- name: Cache Gradle dependencies
uses: actions/cache@v3
Expand All @@ -42,7 +50,7 @@ jobs:
run: chmod +x ./gradlew

- name: Build the Project (without running tests)
run: ./gradlew build -x test
run: ./gradlew build -x test --no-daemon --continue

- name: Run Tests
run: ./gradlew test --parallel
run: ./gradlew test --parallel --no-daemon --continue

0 comments on commit d32ca2a

Please sign in to comment.