Skip to content

Commit

Permalink
chore: 테스트 체크 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
shinseongsu committed Oct 12, 2022
1 parent d5b33ac commit f46486d
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
40 changes: 40 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: 제로기프트 테스트 자동화

on:
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: 프로젝트 체크아웃합니다.
uses: actions/checkout@v2
with:
token: ${{ secrets.GIT_TOKEN }}
submodules: recursive

- name: Start Redis
uses: supercharge/[email protected]
with:
redis-version: '6'

- name: JDK 11을 설치합니다.
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'

- name: Gradle 명령 실행을 위한 권한을 부여합니다
run: chmod +x gradlew

- name: Gradle build를 수행합니다
run: ./gradlew build

- name: 테스트 결과를 PR에 코멘트로 등록합니다
uses: EnricoMi/publish-unit-test-result-action@v1
if: always()
with:
files: '**/build/test-results/test/TEST-*.xml'
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ out/
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
Expand Down
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.

0 comments on commit f46486d

Please sign in to comment.