Skip to content

Commit b1142dd

Browse files
committed
Updated tests.yml to remove PHPunit action and run it from composer instead, as builds started failing as soon as it became a composer dependency.
1 parent 9530280 commit b1142dd

File tree

3 files changed

+84
-33
lines changed

3 files changed

+84
-33
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,7 @@ jobs:
1111
- uses: php-actions/composer@v5
1212

1313
- name: PHPUnit Tests
14-
uses: php-actions/phpunit@v2
15-
with:
16-
configuration: phpunit.xml
17-
php_version: 7.4
18-
php_extensions: mbstring xdebug
19-
bootstrap: vendor/autoload.php
20-
args: --coverage-text --coverage-clover=coverage.xml tests
14+
run: ./vendor/bin/phpunit
2115
env:
2216
XDEBUG_MODE: coverage
2317

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
"classmap": ["src/"]
2222
},
2323
"require-dev": {
24-
"phpunit/phpunit": "9.3"
24+
"phpunit/phpunit": "9.5"
2525
}
2626
}

composer.lock

Lines changed: 82 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)