Skip to content

Commit

Permalink
FEATURE: Check if bin/surf can be executed with different PHP versions (
Browse files Browse the repository at this point in the history
  • Loading branch information
koehnlein authored May 28, 2023
1 parent c3774cd commit b0b2af0
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,24 @@ jobs:
composer-options: "--no-interaction --no-suggest"

- run: vendor/bin/phpunit

canBeExecuted:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.4', '8.0', '8.1', '8.2']

name: Can be executed with PHP ${{ matrix.php }}
steps:
- uses: actions/checkout@v3

- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none # disable xdebug, pcov

- uses: "ramsey/composer-install@v2"
with:
composer-options: "--no-interaction --no-suggest"

- run: bin/surf

0 comments on commit b0b2af0

Please sign in to comment.