diff options
Diffstat (limited to '.github/workflows/tests.yml')
-rw-r--r-- | .github/workflows/tests.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..557134d --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,19 @@ +name: Tests + +on: [push] + +jobs: + build-test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - uses: php-actions/composer@v1 + - name: PHPUnit + uses: php-actions/phpunit@v1 + with: + config: ./phpunit.xml.dist + - name: PHP CS Fixer + uses: StephaneBour/actions-php-cs-fixer@1.0 + with: + dir: './src' |