diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml new file mode 100644 index 0000000..a5dedb7 --- /dev/null +++ b/.github/workflows/php.yml @@ -0,0 +1,17 @@ +name: PHP Composer +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] +permissions: + contents: read +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install dependencies + run: composer install --prefer-dist --no-progress + - name: Run test suite + run: vendor/bin/phpunit