From 0d7d774410d2411f0da2336e1ab0df558f009659 Mon Sep 17 00:00:00 2001 From: brainfoolong Date: Wed, 26 Apr 2023 19:16:08 +0200 Subject: [PATCH] fixed missing artifact uploads in case of failed tests --- .github/workflows/tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e40a5d0..9558dec 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -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