aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/tests.yml
blob: 557134d3d2f9d02400bd7ae8af026f836ec136b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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'