Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload test results to CodeCov #50

Merged
merged 1 commit into from
Nov 20, 2024
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
Upload test results to CodeCov
aik099 committed Nov 19, 2024

Verified

This commit was signed with the committer’s verified signature.
aik099 Alex
commit fde03d5aea0d1cb9cab43a31b6860ea659bccb49
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -121,16 +121,23 @@ jobs:
WEB_FIXTURES_BROWSER: ${{ matrix.browser }}
DRIVER_MACHINE_BASE_PATH: /fixtures/
run: |
vendor/bin/phpunit -v --coverage-clover=coverage.xml --colors=always --testdox
vendor/bin/phpunit -v --coverage-clover=coverage.xml --log-junit junit.xml --colors=always --testdox
- name: Upload coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
# See https://github.com/nektos/act#skipping-steps
if: ${{ !env.ACT }}
# See https://nektosact.com/usage/index.html#skipping-steps
if: ${{ !env.ACT && !cancelled() }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

- name: Upload test results to Codecov
# See https://nektosact.com/usage/index.html#skipping-steps
if: ${{ !env.ACT && !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Extract docker logs
if: ${{ failure() }}
run: |