Skip to content

Commit 44efcb2

Browse files
committed
Fix test
1 parent 9246976 commit 44efcb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,13 +216,13 @@ jobs:
216216
../bashunit -a contains 'Method class@anonymous/TestClassUsingTrait.php:20::doBar() should return stdClass but returns Exception.' "$OUTPUT"
217217
- script: |
218218
cd e2e/bad-exclude-paths
219-
OUTPUT=$(../../bin/phpstan analyse -c ignore.neon)
219+
OUTPUT=$(../../bin/phpstan analyse -c ignore.neon || true)
220220
echo "$OUTPUT"
221221
../bashunit -a contains 'Invalid entry in ignoreErrors' "$OUTPUT"
222222
../bashunit -a contains 'tests is neither a directory, nor a file path, nor a fnmatch pattern.' "$OUTPUT"
223223
- script: |
224224
cd e2e/bad-exclude-paths
225-
OUTPUT=$(../../bin/phpstan analyse -c excludePaths.neon)
225+
OUTPUT=$(../../bin/phpstan analyse -c excludePaths.neon || true)
226226
echo "$OUTPUT"
227227
../bashunit -a contains 'Invalid entry in excludePaths' "$OUTPUT"
228228
../bashunit -a contains 'tests is neither a directory, nor a file path, nor a fnmatch pattern.' "$OUTPUT"

0 commit comments

Comments
 (0)