mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-12-29 23:58:23 +03:00
35 lines
970 B
YAML
35 lines
970 B
YAML
name: Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
# 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/
|
|
|
|
phpunit8:
|
|
runs-on: ubuntu-20.04
|
|
strategy:
|
|
matrix:
|
|
php-versions: ['7.3', '7.4']
|
|
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/
|