You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
455 B
19 lines
455 B
name: CI
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
php:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
php: [7.2, 7.3]
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Install dependencies
|
|
run: composer install --no-interaction --no-progress
|
|
- name: Run tests
|
|
run: php${{ matrix.php }} vendor/bin/phpunit --configuration Tests/phpunit.xml --verbose --fail-on-warning
|
|
- name: Run psalm
|
|
run: php${{ matrix.php }} vendor/bin/psalm
|