Skip to content

Commit

Permalink
テスト成功時にも data/logs 以下のログファイルを表示する
Browse files Browse the repository at this point in the history
- Warning の発生状況を確認するため
  • Loading branch information
nanasess committed Dec 8, 2024
1 parent 863786e commit 2330063
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
name: linux-php${{ matrix.php }}-${{ matrix.db }}-${{ env.PATTERN }}-${{ env.GROUP }}-evidence
path: 'test-results/'
- name: Upload logs
if: failure()
if: always()
uses: actions/upload-artifact@v4
with:
name: linux-php${{ matrix.php }}-${{ matrix.db }}-${{ env.PATTERN }}-${{ env.GROUP }}-logs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
run: docker compose exec -T ec-cube php data/vendor/bin/phpunit tests/class/SC_SessionFactoryTest.php

- name: Upload logs
if: failure()
if: always()
uses: actions/upload-artifact@v4
with:
name: linux-php${{ matrix.php }}-${{ matrix.db }}-logs
Expand Down

0 comments on commit 2330063

Please sign in to comment.