Skip to content

Commit

Permalink
fixed missing artifact uploads in case of failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brainfoolong committed Apr 26, 2023
1 parent 27926f8 commit 0d7d774
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
run: bash dev-scripts/run-tests.sh -t playwright && echo "MESSAGE=$(cat userdata/playwright/badge-message.txt)" >> $GITHUB_ENV && echo "COLOR=$(cat userdata/playwright/badge-color.txt)" >> $GITHUB_ENV

- name: Upload userdata after playwright tests to GitHub
if: always()
uses: actions/upload-artifact@v3
with:
name: userdata-after-playwright
Expand All @@ -42,6 +43,7 @@ jobs:
run: bash dev-scripts/run-tests.sh -t phpunit && echo "COVERAGE=$(cat userdata/clover-coverage.txt)" >> $GITHUB_ENV

- name: Upload userdata after phpunit tests to GitHub
if: always()
uses: actions/upload-artifact@v3
with:
name: userdata-after-phpunit
Expand Down

0 comments on commit 0d7d774

Please sign in to comment.