From c4cee12787abe6aba95b19ddb04f98effbe3fbb1 Mon Sep 17 00:00:00 2001 From: "Hermann D. Schimpf" Date: Sat, 8 Apr 2023 15:44:25 -0400 Subject: [PATCH] Action to run tests for CI --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c96d4f1 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: PHPUnit Tests + +on: + pull_request: + push: + branches: + - master + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Install parallel extension + run: pecl install parallel + + - name: Install dependencies + run: composer install --no-interaction --no-progress --no-suggest + + - name: Run PHPUnit Tests + run: ./vendor/bin/phpunit