Skip to content

Commit

Permalink
PR workflow 추가 #84
Browse files Browse the repository at this point in the history
  • Loading branch information
chaewss committed Aug 19, 2023
1 parent 726b7a9 commit 2d0f61d
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: PR Tests on Develop

on:
pull_request:
branches: [ "develop" ]

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: Grant execute permission for gradlew
run: chmod +x ./gradlew

- name: Controller and Service Tests with Gradle
run: |
./gradlew test --tests "com.cvsgo.controller.*"
./gradlew test --tests "com.cvsgo.service.*"

0 comments on commit 2d0f61d

Please sign in to comment.