Skip to content

Commit

Permalink
Improve tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Gared committed Sep 5, 2024
1 parent 449d843 commit 18c8fa8
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ jobs:

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php-version:
- "8.1"
- "8.2"
- "8.3"
dependency-versions:
- "lowest"
- "highest"

steps:
- uses: actions/checkout@v2

Expand All @@ -27,14 +38,15 @@ jobs:
# ${{ runner.os }}-php-

- name: Install dependencies
# if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest
uses: "ramsey/composer-install@v3"
with:
dependency-versions: ${{ matrix.dependency-versions }}

- name: PHPUnit tests
uses: php-actions/phpunit@v2
with:
configuration: phpunit.xml
php_version: 8.1
php_version: ${{ matrix.php-version }}
version: 9

- name: Run PHPStan
Expand Down

0 comments on commit 18c8fa8

Please sign in to comment.