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