Skip to content

Commit

Permalink
Run tests using Pest and test on PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
bakerkretzmar committed May 16, 2024
1 parent 3d3929d commit 0603602
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,18 @@ jobs:
test:
name: ${{ matrix.os[0] }}, PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }}
runs-on: ${{ matrix.os[1] }}
continue-on-error: ${{ matrix.php == 8.3 }}
continue-on-error: ${{ matrix.php == 8.4 }}
strategy:
fail-fast: false
matrix:
os: [[Ubuntu, ubuntu-latest], [Windows, windows-latest]]
php: [8.1, 8.2, 8.3]
php: [8.1, 8.2, 8.3, 8.4]
laravel: [9, 10, 11]
exclude:
- php: 8.1
laravel: 11
include:
- php: 8.3
- php: 8.4
composer: --ignore-platform-req=php+
steps:
- uses: actions/checkout@v4
Expand All @@ -34,12 +35,14 @@ jobs:
with:
node-version: 20
cache: 'npm'
- run: composer remove laravel/folio --dev --no-update --no-interaction
if: matrix.laravel == 9
- if: matrix.laravel == 9
run: |
composer remove laravel/folio --dev --no-update --no-interaction
composer require phpunit/phpunit --dev --no-update --no-interaction
- run: composer require laravel/framework:"${{ matrix.laravel }}.*" --no-update --no-interaction
- uses: ramsey/composer-install@v2
- uses: ramsey/composer-install@v3
with:
composer-options: ${{ matrix.composer }}
- run: vendor/bin/phpunit --testdox --colors=always
- run: vendor/bin/pest
- run: npm ci && npm run build
- run: npm run test

0 comments on commit 0603602

Please sign in to comment.