Skip to content

Commit

Permalink
Add display options to phpunit
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Aug 27, 2024
1 parent d1da003 commit 663fca3
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/active-record.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ jobs:
WORK_PACKAGE_URL: ${{ env.WORK_PACKAGE_URL }}

- name: Run tests with phpunit with code coverage.
run: vendor/bin/phpunit --testsuite ActiveRecord --coverage-clover=coverage.xml --colors=always
run: vendor/bin/phpunit --testsuite ActiveRecord --coverage-clover=coverage.xml --colors=always --display-warnings --display-deprecations

- name: Upload coverage to Codecov.
if: matrix.php == '8.3'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
run: composer install --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi

- name: Run db tests with phpunit and code coverage.
run: vendor/bin/phpunit --testsuite Db --coverage-clover=coverage.xml --colors=always
run: vendor/bin/phpunit --testsuite Db --coverage-clover=coverage.xml --colors=always --display-warnings --display-deprecations

- name: Upload coverage to Codecov.
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.3'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/db-mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
WORK_PACKAGE_URL: ${{ env.WORK_PACKAGE_URL }}

- name: Run Mysql tests with phpunit and code coverage.
run: vendor/bin/phpunit --testsuite Mysql --coverage-clover=coverage.xml --colors=always
run: vendor/bin/phpunit --testsuite Mysql --coverage-clover=coverage.xml --colors=always --display-warnings --display-deprecations

- name: Upload coverage to Codecov.
if: matrix.php == '8.3'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/db-mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
WORK_PACKAGE_URL: ${{ env.WORK_PACKAGE_URL }}

- name: Run mssql tests with phpunit and code coverage.
run: vendor/bin/phpunit --testsuite Mssql --coverage-clover=coverage.xml --colors=always
run: vendor/bin/phpunit --testsuite Mssql --coverage-clover=coverage.xml --colors=always --display-warnings --display-deprecations

- name: Upload coverage to Codecov.
if: matrix.php == '8.3'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/db-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
WORK_PACKAGE_URL: ${{ env.WORK_PACKAGE_URL }}

- name: Run Mysql tests with phpunit and code coverage.
run: vendor/bin/phpunit --testsuite Mysql --coverage-clover=coverage.xml --colors=always
run: vendor/bin/phpunit --testsuite Mysql --coverage-clover=coverage.xml --colors=always --display-warnings --display-deprecations

- name: Upload coverage to Codecov.
if: matrix.php == '8.3'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/db-oracle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
WORK_PACKAGE_URL: ${{ env.WORK_PACKAGE_URL }}

- name: Run oracle tests with phpunit and code coverage.
run: vendor/bin/phpunit --testsuite Oracle --coverage-clover=coverage.xml --colors=always
run: vendor/bin/phpunit --testsuite Oracle --coverage-clover=coverage.xml --colors=always --display-warnings --display-deprecations

- name: Upload coverage to Codecov.
if: matrix.php == '8.3'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/db-pgsql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
WORK_PACKAGE_URL: ${{ env.WORK_PACKAGE_URL }}

- name: Run pgsql tests with phpunit and code coverage.
run: vendor/bin/phpunit --testsuite Pgsql --coverage-clover=coverage.xml --colors=always
run: vendor/bin/phpunit --testsuite Pgsql --coverage-clover=coverage.xml --colors=always --display-warnings --display-deprecations

- name: Upload coverage to Codecov.
if: matrix.php == '8.3'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/db-sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
WORK_PACKAGE_URL: ${{ env.WORK_PACKAGE_URL }}

- name: Run sqlite tests with phpunit and code coverage.
run: vendor/bin/phpunit --testsuite Sqlite --coverage-clover=coverage.xml --colors=always
run: vendor/bin/phpunit --testsuite Sqlite --coverage-clover=coverage.xml --colors=always --display-warnings --display-deprecations

- name: Upload coverage to Codecov.
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.3'
Expand Down

0 comments on commit 663fca3

Please sign in to comment.