diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b1521bf..7d8a54c 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,16 +1,10 @@ name: run-tests on: + push: + branches: [main, dev] pull_request: branches: [main] - push: - branches: [dev, main] - paths: - - '**.php' - - '.github/workflows/run-tests.yml' - - 'phpunit.xml.dist' - - 'composer.json' - - 'composer.lock' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -18,19 +12,20 @@ concurrency: jobs: test: - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest timeout-minutes: 5 strategy: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.4, 8.3] + php: [8.4] laravel: [12.*, 11.*] stability: [prefer-stable] include: - laravel: 12.* + testbench: 10.* - laravel: 11.* - - laravel: 10.* + testbench: 9.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}