Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit dbb1af7

Browse files
authored
Merge pull request #443 from beyondcode/feature/codecov
[feature] Codecov
2 parents fddf4d5 + 43ef7fd commit dbb1af7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/run-tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,16 @@ jobs:
3737
with:
3838
php-version: ${{ matrix.php }}
3939
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
40-
coverage: none
40+
coverage: pcov
4141

4242
- name: Install dependencies
4343
run: |
4444
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
4545
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
4646
4747
- name: Execute tests
48-
run: vendor/bin/phpunit
48+
run: vendor/bin/phpunit --coverage-text --coverage-clover=coverage.xml
49+
50+
- uses: codecov/codecov-action@v1
51+
with:
52+
fail_ci_if_error: false

0 commit comments

Comments
 (0)