Update tests.yml

This commit is contained in:
Jan Böhmer 2020-05-25 21:44:34 +02:00 committed by GitHub
parent fa74b06613
commit 3d4de2001e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,9 +22,21 @@ jobs:
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
php-version: ${{ matrix.php-versions }} php-version: ${{ matrix.php-versions }}
coverage: xdebug coverage: pcov
- name: Install composer dependencies - name: Install composer dependencies
run: composer install --prefer-dist --no-progress run: composer install --prefer-dist --no-progress
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: '12'
- name: Install yarn dependencies
run: yarn install
- name: Build frontend
run: yarn build
- name: Run PHPunit
run: ./bin/phpunit