Skip to content

Commit 3799be8

Browse files
committed
#24 - update test pipeline
1 parent 8b83f46 commit 3799be8

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/workflows/php.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ jobs:
4040
- name: Install dependencies
4141
run: composer install --prefer-dist --no-progress
4242

43-
- name: Run test suite
44-
run: composer run-script test
43+
- name: Run tests with coverage
44+
run: composer run-script test-coverage

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"scripts": {
5656
"test": "vendor/bin/phpunit -vv --testsuite unit,functional,integration",
5757
"test-all": "vendor/bin/phpunit -vv --testsuite unit,functional,integration,e2e",
58-
"test-coverage": "php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-html var/coverage/html-report -vv --testsuite unit,functional,integration",
58+
"test-coverage": "php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-html var/coverage/html-report -vv --testsuite unit,functional,integration,e2e",
5959
"cs-check": "vendor/bin/php-cs-fixer --config=./.php-cs-fixer.dist.php fix --dry-run --diff --allow-risky=yes",
6060
"phpstan-analyse": "vendor/bin/phpstan",
6161
"analyse": [

tests/bootstrap.php

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
<?php
22

33
require dirname(__DIR__) . '/vendor/autoload.php';
4-
5-
var_dump(\ini_get('xdebug.mode'));die;

0 commit comments

Comments
 (0)