From 895c2bbae705217cb38b0eab64eacbf1ad7847b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20HEYD?= Date: Fri, 12 Apr 2024 14:19:43 +0200 Subject: [PATCH] Tests only on stable --- .github/workflows/tests.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e1859fc0..fac94af7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,7 +9,7 @@ jobs: fail-fast: false matrix: php: [8.0, 8.1, 8.2] - stability: [prefer-lowest, prefer-stable] + stability: [prefer-stable] laravel: ['^9.0', '^10.0'] exclude: - php: 8.2 @@ -39,5 +39,8 @@ jobs: - name: Install dependencies run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --with laravel/framework:${{ matrix.laravel }} + - name: Execute code sniffing + run: vendor/bin/phpcs + - name: Execute tests - run: vendor/bin/phpunit + run: vendor/bin/phpunit --verbose