Merge pull request #443 from beyondcode/feature/codecov

[feature] Codecov
This commit is contained in:
rennokki 2020-08-13 12:13:12 +03:00 committed by GitHub
commit dbb1af76ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -37,7 +37,7 @@ jobs:
with: with:
php-version: ${{ matrix.php }} php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: none coverage: pcov
- name: Install dependencies - name: Install dependencies
run: | run: |
@ -45,4 +45,8 @@ jobs:
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
- name: Execute tests - name: Execute tests
run: vendor/bin/phpunit run: vendor/bin/phpunit --coverage-text --coverage-clover=coverage.xml
- uses: codecov/codecov-action@v1
with:
fail_ci_if_error: false