Skip to content

Commit

Permalink
Only coverage PHP 7.4 and upload version tests scrutinizer.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Mar 20, 2024
1 parent c2d4691 commit ae7db0a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
coverage: none
- php: 7.4
extensions: apc, curl, dom, imagick, intl, mbstring, mcrypt, memcached
coverage: pcov
coverage: xdebug
- php: 8.0
extensions: apcu, curl, dom, imagick, intl, mbstring, mcrypt, memcached
coverage: none
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
run: vendor/bin/phpunit --group mssql --coverage-clover=coverage.xml --colors=always

- name: Upload coverage to Codecov.
if: matrix.php == '7.4'
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
1 change: 1 addition & 0 deletions .github/workflows/ci-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
run: vendor/bin/phpunit --group mysql --coverage-clover=coverage.xml --colors=always

- name: Upload coverage to Codecov.
if: matrix.php == '7.4'
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
1 change: 1 addition & 0 deletions .github/workflows/ci-pgsql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
run: vendor/bin/phpunit --group pgsql --coverage-clover=coverage.xml --colors=always

- name: Upload coverage to Codecov.
if: matrix.php == '7.4'
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
1 change: 1 addition & 0 deletions .github/workflows/ci-sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
run: vendor/bin/phpunit --group sqlite --coverage-clover=coverage.xml --colors=always

- name: Upload coverage to Codecov.
if: matrix.php == '7.4'
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ build:

environment:
php:
version: 7.4.28
version: 8.1
ini:
xdebug.mode: coverage,develop
memory_limit: -1
Expand Down

0 comments on commit ae7db0a

Please sign in to comment.