From 76a8d852386876b28e527ab898d1d3d623858c84 Mon Sep 17 00:00:00 2001 From: Matthew Bucci Date: Mon, 30 Oct 2023 09:35:50 -0700 Subject: [PATCH] add github action for running tests --- .github/workflows/php.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/php.yml diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml new file mode 100644 index 0000000..7740af7 --- /dev/null +++ b/.github/workflows/php.yml @@ -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/ \ No newline at end of file