From 222a20c322be3d58346ea250ffd42478adf29648 Mon Sep 17 00:00:00 2001 From: Jacob Tobiasz Date: Mon, 16 Sep 2024 12:39:57 +0200 Subject: [PATCH] Configure taking screenshot on failed panther tests --- .github/workflows/_matrix.json | 14 +++++++------- .github/workflows/ci.yaml | 3 ++- phpunit.xml.dist | 1 + 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/_matrix.json b/.github/workflows/_matrix.json index be885031..b1ef6340 100644 --- a/.github/workflows/_matrix.json +++ b/.github/workflows/_matrix.json @@ -4,15 +4,15 @@ "include": [ { "php": "8.1", - "sylius": "1.12.*", - "symfony": "5.4.*", + "sylius": "1.12.x", + "symfony": "5.4.x", "mysql": "8.0", "state_machine": "winzou_state_machine" }, { "php": "8.3", - "sylius": "1.13.*", - "symfony": "6.4.*", + "sylius": "1.13.x", + "symfony": "6.4.x", "mysql": "8.0", "state_machine": "symfony_workflow" } @@ -21,13 +21,13 @@ "daily": { "ci": { "php": ["8.1", "8.3"], - "sylius": ["1.12.*", "1.13.*"], - "symfony": ["5.4.*", "6.4.*"], + "sylius": ["1.12.x", "1.13.x"], + "symfony": ["5.4.x", "6.4.x"], "mysql": ["8.0"], "state_machine": ["winzou_state_machine", "symfony_workflow"], "exclude": [ { - "sylius": "1.12.*", + "sylius": "1.12.x", "state_machine": "symfony_workflow" } ] diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f4649ab9..da22f8fe 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -101,7 +101,8 @@ jobs: uses: actions/upload-artifact@v3 if: failure() with: - name: "Logs" + name: "Logs for (Sylius ${{ matrix.sylius }}, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}, MySQL ${{ matrix.mysql }}, State Machine ${{ matrix.state_machine }})" path: | tests/Application/var/log + tests/Application/var/panther if-no-files-found: ignore diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 3edcdcc2..4d755ddb 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -25,6 +25,7 @@ +