Skip to content

Commit

Permalink
Improve performance (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
enjinabner authored Aug 17, 2023
1 parent c340d0a commit 516ff49
Show file tree
Hide file tree
Showing 4 changed files with 445 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, gd, gmp, intl, json, mysql, readline, sodium, bcmath
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, gd, gmp, intl, json, mysql, readline, sodium, bcmath, pcov
tools: composer:v2
coverage: xdebug
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -67,7 +66,7 @@ jobs:
- name: Execute tests
run: |
XDEBUG_MODE=coverage ./vendor/bin/phpunit --colors=always --coverage-clover coverage.xml
php -d pcov.enabled=1 ./vendor/bin/phpunit --colors=always --coverage-clover coverage.xml
env:
DB_HOST: 127.0.0.1:${{ job.services.mysql.ports[3306] }}
DB_DATABASE: platform
Expand Down
Loading

0 comments on commit 516ff49

Please sign in to comment.