123456789101112131415161718192021 |
- name: Tests
- on: [push, pull_request]
- jobs:
- phpunit:
- runs-on: ubuntu-latest
- strategy:
- matrix:
- php-version: [7.1, 7.2, 7.3]
- composer-flags: [null, --prefer-lowest]
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-node@v1
- - uses: shivammathur/setup-php@v2
- with:
- php-version: ${{ matrix.php-version }}
- tools: pecl
- extensions: weakref-beta
- coverage: none
- - run: composer update ${{ matrix.composer-flags }} --no-interaction --no-progress --prefer-dist --ansi
- - run: npm install
- - run: ./vendor/bin/phpunit --color=always
|