Skip to content

Commit

Permalink
Merge pull request #213 from swm-standard/seyeon/swm-175
Browse files Browse the repository at this point in the history
Feat: GitActions ์™€ Jacoco ์—ฐ๋™
  • Loading branch information
adorableco authored Sep 12, 2024
2 parents f21525b + c4a9b98 commit 89cbfb8
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions .github/workflows/develop-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
permissions: write-all

jobs:
build:
setting:
runs-on: ubuntu-latest

steps:
Expand All @@ -21,23 +21,28 @@ jobs:

- name: Set up properties
run: |
cd src/main
mkdir resources
cd resources
touch application.properties
echo "${{ secrets.APPLICATION }}" > application.properties
cat application.properties
cd src/main
mkdir resources
cd resources
touch application.properties
echo "${{ secrets.APPLICATION }}" > application.properties
cat application.properties
shell: bash

- name: Grant execute permission for gradlew
run: chmod +x gradlew


- name: Test with Gradle
run: ./gradlew clean build jacocoTestReport
run: ./gradlew clean jacocoTestReport

- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: ${{ always() }}
- name: Add coverage to PR
id: jacoco
uses: madrapps/[email protected]
with:
files: build/test-results/**/*.xml
paths: ${{ github.workspace }}/build/jacoco/index.xml
token: ${{ secrets.GITHUB_TOKEN }}
title: "ํ…Œ์ŠคํŠธ ์ปค๋ฒ„๋ฆฌ์ง€ ์ธก์ •"
min-coverage-overall: 40
min-coverage-changed-files: 40

0 comments on commit 89cbfb8

Please sign in to comment.