add github action for running tests
This commit is contained in:
21
.github/workflows/php.yml
vendored
Normal file
21
.github/workflows/php.yml
vendored
Normal 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/
|
Reference in New Issue
Block a user