Skip to content

Commit

Permalink
Merge pull request #915 from jrfnl/feature/ghactions-turn-on-error-re…
Browse files Browse the repository at this point in the history
…porting
  • Loading branch information
ramsey authored Nov 30, 2021
2 parents 535de5b + dc490fe commit 3a66916
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
php-version: "7.4"
coverage: "none"
ini-values: "memory_limit=-1"
ini-values: "memory_limit=-1, zend.assertions=1, error_reporting=-1, display_errors=On"
tools: "composer:v2"
- uses: "ramsey/composer-install@v1"
- name: "Lint the PHP source code"
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
with:
php-version: "${{ matrix.php-version }}"
coverage: "pcov"
ini-values: "memory_limit=-1"
ini-values: "memory_limit=-1, zend.assertions=1, error_reporting=-1, display_errors=On"
tools: "composer:v2"
- name: "Prepare for tests"
run: "mkdir -p build/logs"
Expand Down
9 changes: 8 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true" bootstrap="./vendor/autoload.php">
<phpunit
bootstrap="./vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertWarningsToExceptions="true"
convertNoticesToExceptions="true"
convertDeprecationsToExceptions="true"
>
<testsuites>
<testsuite name="all">
<directory>./test</directory>
Expand Down

0 comments on commit 3a66916

Please sign in to comment.