Skip to content

[POT_63][Feat] 레포트 조회 API 구현 #130

[POT_63][Feat] 레포트 조회 API 구현

[POT_63][Feat] 레포트 조회 API 구현 #130

Workflow file for this run

name: pothole Build & Test & Run
on:
pull_request:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: GitHub Repository Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: core application.yml 생성
shell: bash
run: |
mkdir -p ./pothole-core/src/main/resources
cd ./pothole-core/src/main/resources
touch ./application-core-dev.yml
echo "${{ secrets.CORE_APPLICATION_DEV_YML }}" > ./application-core-dev.yml
- name: Manager application.yml 생성
shell: bash
run: |
mkdir -p ./pothole-manager-api/src/main/resources
cd ./pothole-manager-api/src/main/resources
touch ./application.yml
echo "${{ secrets.MANAGER_APPLICATION_YML }}" > ./application.yml
touch ./application-manager-dev.yml
echo "${{ secrets.MANAGER_APPLICATION_DEV_YML }}" > ./application-manager-dev.yml
- name: Worker application.yml 생성
shell: bash
run: |
mkdir -p ./pothole-worker-api/src/main/resources
cd ./pothole-worker-api/src/main/resources
touch ./application.yml
echo "${{ secrets.WORKER_APPLICATION_YML }}" > ./application.yml
touch ./application-worker-dev.yml
echo "${{ secrets.WORKER_APPLICATION_DEV_YML }}" > ./application-worker-dev.yml
- name: check yml config validation
shell: bash
run: |
./script/checkConfigValidation.sh
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Pothole [Core] Module Build with Gradle
run: ./gradlew pothole-core:bootJar -x test
- name: Pothole [Core] Module test
run: ./gradlew pothole-core:test
- name: Pothole [Manager] Module Build with Gradle
run: ./gradlew pothole-manager-api:bootJar -x test
- name: Pothole [Manager] Module test
run: ./gradlew pothole-manager-api:test
- name: Pothole [Worker] Module Build with Gradle
run: ./gradlew pothole-worker-api:bootJar -x test
- name: Pothole [Worker] Module test
run: ./gradlew pothole-worker-api:test