Skip to content

Commit

Permalink
Merge pull request #26 from Re-4aliens/chore/#25_add-test-pipeline
Browse files Browse the repository at this point in the history
Chore/#25 PR전, 테스트 실패 여부를 확인할 수 있도록 파이프라인 구축
  • Loading branch information
mjj111 authored Feb 10, 2024
2 parents f7ec8ef + 9958455 commit 1f3d038
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: test

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]

workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: JDK 17 설치
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: secret 설정 파일(yml) 추가
run: |
cd ./src/main/resources
touch ./application-secret.yml
echo "${{ secrets.APPLICATION_SECRET }}" > ./application-secret.yml
- name: Gradle 권한 허용
run: chmod +x gradlew
- name: PR 및 PUSH 전, 테스트 확인
run: ./gradlew test

0 comments on commit 1f3d038

Please sign in to comment.