Skip to content

Commit

Permalink
no http phpunit tests for Oracle
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Oct 8, 2021
1 parent fa7a9a3 commit 5bb92b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,10 @@ jobs:
DB_DSN: "oci:dbname=oracle/xe;charset=UTF8"
DB_USER: system
DB_PASSWD: oracle
# TODO phpunit does not complete with Oracle because it seems it cannot handle burst of short-lived connections
run: |
php demos/_demo-data/create-db.php
php -d opcache.enable_cli=1 vendor/bin/phpunit --exclude-group none $(if [ -n "$LOG_COVERAGE" ]; then echo --coverage-text; else echo --no-coverage; fi) -v
php -d opcache.enable_cli=1 vendor/bin/phpunit $(if [ -n "$LOG_COVERAGE" ]; then echo --coverage-text; else echo --no-coverage; fi) -v
if [ -n "$LOG_COVERAGE" ]; then mv coverage/phpunit.cov coverage/phpunit-oracle.cov; fi
- name: Upload coverage logs 1/2 (only for latest Phpunit)
Expand Down

0 comments on commit 5bb92b3

Please sign in to comment.