Skip to content

Commit

Permalink
ビルドまたはテスト結果のメッセージ表示を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuna-can-se committed Nov 13, 2023
1 parent f610fc8 commit f1d499e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/back-sample-pull-request-ut.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,17 @@ jobs:
working-directory: ./samples/web-csr/dressca-backend
continue-on-error: true

- name: テスト結果の見出し表示
if: ${{ success() || (failure() && steps.run-build-and-tests.conclusion == 'failure') }}
- name: ビルド(コンパイル, 静的テスト, JUnit)成功
if: ${{ steps.run-build-and-tests.outcome == 'success' }}
run: |
echo '## Test Result :memo:' >> $GITHUB_STEP_SUMMARY
echo ':heavy_check_mark: ビルドまたはテストに成功しました。' >> $GITHUB_STEP_SUMMARY
- name: ビルド(コンパイル, 静的テスト, JUnit)失敗
if: ${{ steps.run-build-and-tests.outcome == 'failure' }}
run: |
echo '## Test Result :memo:' >> $GITHUB_STEP_SUMMARY
echo ':x: ビルドまたはテストに失敗しました。' >> $GITHUB_STEP_SUMMARY
- name: JUnitレポート
uses: mikepenz/action-junit-report@v3
Expand Down

0 comments on commit f1d499e

Please sign in to comment.