fix 8.4 deprecation notices (#60) #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHP Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
run: | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ 'ubuntu-latest' ] | |
php-versions: [ '8.1', '8.3', '8.4'] | |
phpunit-versions: [ 'latest' ] | |
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extensions: json, curl | |
tools: phpunit:${{ matrix.phpunit-versions }} | |
- name: Install dependencies | |
run: | | |
composer install --prefer-dist --no-interaction | |
- name: Execute tests | |
run: vendor/bin/phpunit |