Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

[Feat] 여행스페이스 알람 구현 및 Validation 추가 #244

[Feat] 여행스페이스 알람 구현 및 Validation 추가

[Feat] 여행스페이스 알람 구현 및 Validation 추가 #244

Workflow file for this run

name: CI - test
on:
push:
branches: [ "main", "develop" ]
pull_request:
branches: [ "main", "develop" ]
permissions:
contents: read
checks: write
pull-requests: write
jobs:
build:
name: Build and test project
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3
with:
token: ${{ secrets.ACTION_TOKEN }}
submodules: true
- name: Vault에 있는 설정 파일을 프로젝트로 복사
run: cp ./vault/app/* ./app/src/main/resources && cp ./vault/openapi/* ./openapi/src/main/resources && mkdir -p ./notification/src/main/resources && cp ./vault/notification/* ./notification/src/main/resources
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'corretto'
- name: Grant execute permission for gradlewhttps://github.com/Strong-Potato/TripVote-BE/commit/c9a5cc23fd8e3c280dc7b5e256b950f6bca8086a
run: |
chmod +x ./gradlew
- name: Test with Gradle
run: |
./gradlew test
- name: Publish result of unit test
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: "**/build/test-results/test/TEST-*.xml"
- name: Publish failure of unit test
uses: mikepenz/action-junit-report@v3
if: always()
with:
report_paths: '**/build/test-results/test/TEST-*.xml'