diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ff5d6a4..680093b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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: @@ -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