add github action for running tests

This commit is contained in:
Matthew Bucci
2023-10-30 09:35:50 -07:00
parent cbe173d2ff
commit 76a8d85238

21
.github/workflows/php.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: PHP Composer
on:
push:
branches: [ "v2", "v3" ]
pull_request:
branches: [ "v2", "v3" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run Tests
run: ./tests/tools/phpunit.phar tests/