Skip to content

Commit

Permalink
[Feat] : 커버리지 결과 정적 사이트에 게시
Browse files Browse the repository at this point in the history
  • Loading branch information
wellbeing-dough committed Jan 20, 2024
1 parent 12586b1 commit 9afe272
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,16 @@ jobs:
id: buildAndTests
continue-on-error: true # 테스트에 실패해도 계속 로그찍기

- name: Upload Jacoco Report
uses: actions/upload-artifact@v3
# - name: Upload Jacoco Report
# uses: actions/upload-artifact@v3
# with:
# name: jacoco-report
# path: build/reports/jacoco/test/jacocoTestReport.xml
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
name: jacoco-report
path: build/reports/jacoco/test/jacocoTestReport.xml

github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/reports/jacoco/test/html/index.html

- name: Archive test results if tests failed # 테스트가 실패하면 결과 아카이빙
if: steps.buildAndTests.outcome == 'failure'
Expand Down

0 comments on commit 9afe272

Please sign in to comment.