Skip to content

Commit

Permalink
wip dorp me
Browse files Browse the repository at this point in the history
  • Loading branch information
tangrufus committed Jan 2, 2025
1 parent ba3fe81 commit 76ce114
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,28 @@ on:
push:

jobs:
pint:
php-matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.php-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4

with:
sparse-checkout: composer.json
sparse-checkout-cone-mode: false
- uses: typisttech/php-matrix-action@main
id: php-matrix

pest:
runs-on: ubuntu-latest
needs: php-matrix
strategy:
matrix:
php: ${{ fromJSON(needs.php-matrix.outputs.matrix).versions }}
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ fromJSON(steps.php-matrix.outputs.matrix).lowest }}
tools: pint

- run: pint --test
php-version: ${{ matrix.php }}
- run: composer install
- run: composer test

0 comments on commit 76ce114

Please sign in to comment.