From 802a2695c1b88e4a05f33f3dcf06f9db2aa0b586 Mon Sep 17 00:00:00 2001 From: Colin Stewart <79332690+costdev@users.noreply.github.com> Date: Fri, 1 Nov 2024 21:45:30 +0000 Subject: [PATCH] `Workflows`: Fix PHP version and add more workflow triggers. (#92) * Fix PHP version. * Add `push` and `workflow_dispatch` workflow triggers. --- .github/workflows/phpunit-tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml index 84e700b..2a935a1 100644 --- a/.github/workflows/phpunit-tests.yml +++ b/.github/workflows/phpunit-tests.yml @@ -1,9 +1,13 @@ name: Run PHPUnit Tests on: + push: + branches: + - main pull_request: branches: - main + workflow_dispatch: jobs: phpunit: @@ -27,7 +31,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: $ + php-version: ${{ matrix.php-version }} tools: phpunit-polyfills:1.1 - name: Setup tests