2021-01-11 20:39:15 +03:00
|
|
|
name: Tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
2021-12-26 07:25:36 +03:00
|
|
|
# TODO: return back when fixed https://github.com/RSS-Bridge/rss-bridge/issues/2391
|
|
|
|
# phpunit7:
|
|
|
|
# runs-on: ubuntu-20.04
|
|
|
|
# strategy:
|
|
|
|
# matrix:
|
|
|
|
# php-versions: ['7.1', '7.2', '7.3']
|
|
|
|
# steps:
|
|
|
|
# - uses: actions/checkout@v2
|
|
|
|
# - uses: shivammathur/setup-php@v2
|
|
|
|
# with:
|
|
|
|
# php-version: ${{ matrix.php-versions }}
|
|
|
|
# - run: composer global require phpunit/phpunit ^7
|
|
|
|
# - run: phpunit --configuration=phpunit.xml --include-path=lib/
|
2021-01-11 20:39:15 +03:00
|
|
|
|
|
|
|
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-01-05 02:40:30 +03:00
|
|
|
php-versions: ['7.3', '7.4', '8.0', '8.1']
|
2021-01-11 20:39:15 +03:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: shivammathur/setup-php@v2
|
|
|
|
with:
|
|
|
|
php-version: ${{ matrix.php-versions }}
|
|
|
|
- run: composer global require phpunit/phpunit ^8
|
|
|
|
- run: phpunit --configuration=phpunit.xml --include-path=lib/
|