Skip to content

Commit

Permalink
Workflows: Fix PHP version and add more workflow triggers. (#92)
Browse files Browse the repository at this point in the history
* Fix PHP version.

* Add `push` and `workflow_dispatch` workflow triggers.
  • Loading branch information
costdev authored Nov 1, 2024
1 parent 6d14131 commit 802a269
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/phpunit-tests.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: Run PHPUnit Tests

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

jobs:
phpunit:
Expand All @@ -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
Expand Down

0 comments on commit 802a269

Please sign in to comment.