From 60e81a7a346aaf1cf2c4de7f2995773044ad0b4b Mon Sep 17 00:00:00 2001 From: Piotr Figiela <77412592+Draggu@users.noreply.github.com> Date: Fri, 13 Dec 2024 13:26:21 +0100 Subject: [PATCH] Const name job for ui tests (#33) --- .github/workflows/ci.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f117c41..d72edde 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -34,7 +34,7 @@ jobs: - run: npm ci - run: npm run compile-test - run: npm test - test-ui: + test-ui-parametrized: name: test ui strategy: matrix: @@ -53,3 +53,12 @@ jobs: - run: npm ci - run: npm run compile-test - run: xvfb-run --auto-servernum --server-args='-screen 0 1920x1080x24' npm run ui-test + test-ui: + if: ${{ always() }} + needs: test-ui-parametrized + runs-on: ubuntu-latest + steps: + - if: needs.test-ui-parametrized.result == 'success' + run: exit 0 + - if: needs.test-ui-parametrized.result != 'success' + run: exit 1