From 44d772c7eefe06009a67ce8e718bec58568b8cd8 Mon Sep 17 00:00:00 2001 From: lapaliv Date: Tue, 21 May 2024 22:46:47 +0200 Subject: [PATCH] debug --- .github/workflows/phpunit.yml | 17 ++++++++++++++--- .github/workflows/psalm.yml | 2 +- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 88c334c..c283853 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -1,4 +1,4 @@ -name: PHPUnit & PHPStan +name: PHPUnit on: [push] @@ -9,8 +9,17 @@ jobs: phpunit: runs-on: ubuntu-latest + strategy: + matrix: + include: + - php: '8.0' + - php: '8.1' + - php: '8.2' steps: - - uses: actions/checkout@v3 + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 2 - name: Copy .env run: php -r "file_exists('.env') || copy('.env.example', '.env');" @@ -25,7 +34,9 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.0 + coverage: "none" + php-version: "${{ matrix.php }}" + tools: flex - name: Install dependencies run: composer install --prefer-dist --no-progress diff --git a/.github/workflows/psalm.yml b/.github/workflows/psalm.yml index 59b7df9..96c8487 100644 --- a/.github/workflows/psalm.yml +++ b/.github/workflows/psalm.yml @@ -1,4 +1,4 @@ -name: PHPUnit & PHPStan +name: Psalm on: [push]