2021-01-11 22:39:15 +05:00
|
|
|
name: Tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
phpunit8:
|
2021-05-30 18:04:57 +00:00
|
|
|
runs-on: ubuntu-20.04
|
2021-01-11 22:39:15 +05:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2022-06-19 21:45:33 +02:00
|
|
|
php-versions: ['7.4', '8.0', '8.1']
|
2021-01-11 22:39:15 +05:00
|
|
|
steps:
|
2024-10-16 19:46:56 +02:00
|
|
|
- uses: actions/checkout@v4
|
2021-01-11 22:39:15 +05:00
|
|
|
- uses: shivammathur/setup-php@v2
|
|
|
|
with:
|
|
|
|
php-version: ${{ matrix.php-versions }}
|
2024-10-17 00:00:52 +02:00
|
|
|
env:
|
|
|
|
update: true
|
2022-06-24 12:00:58 +02:00
|
|
|
- run: composer install
|
|
|
|
- run: composer test
|