Skip to content

Commit 9f6385e

Browse files
committed
No need to report useless tests
1 parent 500d1db commit 9f6385e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
run: rm phpunit.xml.dist
9393

9494
- name: 'PHPUnit: run the tests'
95-
run: vendor/bin/phpunit tests/AllTests.php --bootstrap=tests/bootstrap.php
95+
run: vendor/bin/phpunit tests/AllTests.php --bootstrap=tests/bootstrap.php --dont-report-useless-tests
9696

9797
- name: 'PHPCS: check code style without cache, no parallel'
9898
if: ${{ matrix.custom_ini == false }}

phpunit.xml.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="tests/bootstrap.php">
2+
<phpunit beStrictAboutTestsThatDoNotTestAnything="false" bootstrap="tests/bootstrap.php">
33
<testsuites>
44
<testsuite name="PHP_CodeSniffer Test Suite">
55
<file>tests/AllTests.php</file>

0 commit comments

Comments
 (0)