Skip to content

Commit

Permalink
chore: CI pipeline에 빌드 테스트 누락사항 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
h-beeen committed Mar 14, 2024
1 parent dd8a928 commit 4a05c13
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: 빌드 테스트
name: 테스트 코드 및 빌드

on:
pull_request:
types: [opened, synchronize, closed]
types: [ opened, synchronize, closed ]
branches:
- 'develop'
- 'master'

jobs:
build:
name: "[CI] Check Build"
test:
name: "[CI] Check Tests"
runs-on: ubuntu-latest

steps:
Expand All @@ -19,11 +19,17 @@ jobs:
token: ${{ secrets.GIT_TOKEN }}
submodules: true

- name: (Set Up) Set up JDK 17
- name: Setup Java 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
distribution: 'adopt'

- name: (Set Up) Grant Execute permission for gradlew
run: chmod 777 gradlew
- name: Update Git submodules
run: git submodule update --remote --recursive

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

- name: Test with Gradle
run: ./gradlew test

0 comments on commit 4a05c13

Please sign in to comment.