Skip to content

Commit

Permalink
Set php version
Browse files Browse the repository at this point in the history
  • Loading branch information
Michel Escalante Álvarez committed Mar 19, 2024
1 parent 8c11157 commit b34104e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: phpunit
on: push
jobs:
build-test:
Expand All @@ -7,4 +7,13 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: php-actions/composer@v6 # or alternative dependency management
- uses: php-actions/phpunit@v3
# - uses: php-actions/phpunit@v3
# with:
# vendored_phpunit_path: "vendor/bin/phpunit"
# php_version: "7.2"
# configuration: "phpunit.xml"
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '7.2'
- run: php vendor/bin/phpunit

0 comments on commit b34104e

Please sign in to comment.