-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test: 실패하는 테스트 수정 * docs: ci 수정 * docs: ci 수정 * refactor: CI 수정 * refactor: CI 수정
- Loading branch information
Showing
2 changed files
with
52 additions
and
46 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 |
---|---|---|
@@ -1,38 +1,37 @@ | ||
name: Pull Request Open | ||
|
||
on: | ||
pull_request: | ||
branches: [ "dev" ] | ||
|
||
permissions: write-all | ||
|
||
branches: ["dev"] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-22.04 | ||
|
||
permissions: write-all | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'corretto' | ||
|
||
- name: Run tests | ||
run: ./gradlew test | ||
|
||
- name: Build with Gradle | ||
run: ./gradlew build | ||
|
||
- name: Publish Test Result | ||
uses: EnricoMi/publish-unit-test-result-action@v1 | ||
if: always() | ||
with: | ||
files: '**/build/test-results/test/TEST-*.xml' | ||
|
||
- name: Comment Fail Test | ||
uses: mikepenz/action-junit-report@v3 | ||
if: always() | ||
with: | ||
report_paths: '**/build/test-results/test/TEST-*.xml' | ||
token: ${{ github.token }} | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: "17" | ||
distribution: "corretto" | ||
|
||
- name: Run tests | ||
run: ./gradlew test | ||
|
||
- name: Build with Gradle | ||
run: ./gradlew build | ||
|
||
- name: Publish Test Result | ||
uses: EnricoMi/publish-unit-test-result-action@v1 | ||
if: always() | ||
with: | ||
files: "**/build/test-results/test/TEST-*.xml" | ||
|
||
- name: Comment Fail Test | ||
uses: mikepenz/action-junit-report@v3 | ||
if: always() | ||
with: | ||
report_paths: "**/build/test-results/test/TEST-*.xml" | ||
token: ${{ github.token }} |
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