Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
BS_ACCESS_KEY: ${{ secrets.BS_ACCESS_KEY }}
if: "${{ matrix.with_coverage == true }}"
run: |
vendor/bin/phpunit -v --coverage-clover=coverage.clover
vendor/bin/phpunit -v --coverage-clover=coverage.clover --log-junit junit.xml

- name: Run tests without Coverage
env:
Expand All @@ -79,12 +79,18 @@ jobs:
run: |
vendor/bin/phpunit -v

- name: Upload Coverage to CodeCov
if: "${{ matrix.with_coverage == true }}"
- name: Upload coverage to Codecov
if: ${{ matrix.with_coverage == true && !cancelled() }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload test results to Codecov
if: ${{ matrix.with_coverage == true && !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload Coverage to Scrutinizer CI (PHP < 8.0)
if: "${{ matrix.php < '8.0' && matrix.with_coverage == true }}"
run: |
Expand Down
Loading