Skip to content

Create gadpp.yml

Create gadpp.yml #13

name: Test In All PHP Versions
on:
pull_request:
branches: [master]
jobs:
phpunit:
name: PHPUnit
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
- "8.3"
dependency-versions:
- "lowest"
- "highest"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@2.27.1
with:
php-version: ${{ matrix.php-version }}
coverage: none
- name: Install composer dependencies
uses: ramsey/composer-install@v2
with:
dependency-versions: ${{ matrix.dependency-versions }}
- name: Run PHPUnit
run: vendor/bin/phpunit tests