Skip to content

Commit

Permalink
TEST: Do not run CI if the PR is in draft or has conflicts.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhm0311 committed Sep 6, 2024
1 parent 45dcaab commit d59e03f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
test:
name: JDK ${{ matrix.jdk }}, ${{ matrix.os }}
runs-on: ${{ matrix.os }}
if: |
(github.event.pull_request.draft == false && github.event.pull_request.mergeable == true) ||
(github.event_name == 'push' && github.ref == 'refs/heads/master')
strategy:
matrix:
jdk: [ 8, 11, 17 ]
Expand All @@ -35,9 +38,9 @@ jobs:
run: |
# clone
git clone https://github.com/naver/arcus.git $HOME/arcus
# build server
cd ~/arcus && docker compose up -d
cd ~/arcus && docker compose up -d
- name: Test ARCUS Client Without ZK
run: mvn clean verify -DUSE_ZK=false -Dtest=ObserverTest,ArcusClientCreateTest
Expand Down

0 comments on commit d59e03f

Please sign in to comment.