Skip to content

Commit

Permalink
[Docs] : deploy.yml 테스트 결과 아카이빙 경로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
elyudwo committed Feb 17, 2024
1 parent 89d6444 commit dd326c1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,14 @@ jobs:
# minimum_coverage: 20
# fail_below_threshold: false
# publish_only_summary: false
# 테스트 후 Result를 보기위해 Publish Unit Test Results step 추가
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: ${{ always() }} # 테스트가 실패하여도 Report를 보기 위해 `always`로 설정
with:
files: build/test-results/**/*.xml

- name: Archive test results if tests failed # 테스트가 실패하면 결과 아카이빙
if: steps.buildAndTests.outcome == 'failure'
uses: actions/upload-artifact@v2
with:
name: test-results
path: |
**/build/reports/tests/test/
**/build
- name: Stop workflow if tests failed # 테스트가 실패하면 테스트 실패 로그 아카이빙 후 전체 플로우 종료
if: steps.buildAndTests.outcome == 'failure'
Expand Down

0 comments on commit dd326c1

Please sign in to comment.