-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Server Github Actions 작성
- Loading branch information
Showing
5 changed files
with
156 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: 🧪 Calendar Server Tests on Pull Request | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- dev | ||
|
||
jobs: | ||
project-test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: 📦 Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: 🏗️ Set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
||
- name: 🎟️ Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
- name: 🧪 Spring Boot Test | ||
run: ./gradlew clean application:wypl-calendar:test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: 🧪 Image Server Tests on Pull Request | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- dev | ||
|
||
jobs: | ||
project-test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: 📦 Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: 🖼️ Install ImageMagick | ||
run: sudo apt-get install -y imagemagick | ||
|
||
- name: 🏗️ Set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
||
- name: 🎟️ Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
- name: 🧪 Spring Boot Test | ||
run: ./gradlew clean application:wypl-image:test | ||
|
||
- name: Add coverage to PR | ||
id: jacoco | ||
uses: madrapps/[email protected] | ||
with: | ||
title: 📄 Image Server Jacoco Coverage Report | ||
paths: ${{ github.workspace }}/**/wypl-image/reports/jacoco/test/jacocoTestReport.xml | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
min-coverage-overall: 80 | ||
min-coverage-changed-files: 80 |
27 changes: 27 additions & 0 deletions
27
.github/workflows/application-notification-server-test.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: 🧪 Notification Server Tests on Pull Request | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- dev | ||
|
||
jobs: | ||
project-test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: 📦 Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: 🏗️ Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '21' | ||
|
||
- name: 🎟️ Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
- name: 🧪 Spring Boot Test | ||
run: ./gradlew clean application:wypl-notification:test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters