From ebc450c30330662ab4104c839ae0555398f66ba5 Mon Sep 17 00:00:00 2001 From: Michael Aerni Date: Sat, 30 Mar 2024 17:13:27 -0400 Subject: [PATCH] Fix test workflow --- .github/workflows/run-tests.yaml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 9d08c3c..cecff64 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -1,25 +1,26 @@ name: Run Tests -on: [push, pull_request, workflow_dispatch] +on: ['push', 'pull_request'] jobs: test: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: - fail-fast: false + fail-fast: true matrix: - php: [8.2, 8.1] - laravel: [10.*] - stability: [prefer-stable] + os: [ubuntu-latest] + php: [8.3, 8.2] + laravel: [11.*] + stability: [prefer-lowest, prefer-stable] include: - - laravel: 10.* - testbench: 8.* + - laravel: 11.* + testbench: 9.* name: PHP ${{ matrix.php }} – Laravel ${{ matrix.laravel }} - ${{ matrix.stability }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2