From 99330038b7697275d6b893ae98729bdc4f8fa574 Mon Sep 17 00:00:00 2001 From: AndyF Date: Fri, 6 Sep 2024 15:42:55 +0100 Subject: [PATCH] Run tests on push/pull request --- .github/workflows/run-tests.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/run-tests.yml diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml new file mode 100644 index 0000000..cbbabde --- /dev/null +++ b/.github/workflows/run-tests.yml @@ -0,0 +1,17 @@ +name: Run tests + +on: + workflow_dispatch: + pull_request: + push: + +jobs: + run-tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: shivammathur/setup-php@v2 + with: + php-version: 8.1 + - uses: ramsey/composer-install@v3 + - run: vendor/bin/phpunit