-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Describe the bug
I'm working on implementing test result reporting in our project. I've been able to get test results to upload and show up in the Codecov web UI as expected, but for some reason on the PR to add the test result functionality, code coverage information never gets posted.
The code coverage functionality works as expected in other pull requests, but has this issue specifically in the pull request to add test result reporting.
Environment (please complete the following information):
- GitHub Actions
- codecov/codecov-action
To Reproduce
Steps to reproduce the behavior:
- Introduce test result uploading in GitHub Actions workflow
- Upload code coverage information as before, and also upload test results
- Note that test results show up correctly in the Codecov web UI
- Note that code coverage information shows up correctly in the Codecov web UI
- Note that the coverage information does not get updated on the GitHub pull request
Expected behavior
I expected both test results and code coverage features to function as expected on the same pull request.
Additional context
Here is what I've got in my GitHub actions workflow:
Uploading code coverage:
- name: Upload Code Coverage to Codecov
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
report_type: coverage
token: ${{ secrets.CODECOV_TOKEN }}Uploading test results:
- name: Upload Test Results to Codecov
uses: codecov/codecov-action@v5
with:
files: ./artifacts/${{ inputs.test_plan }}.test-results.xml
report_type: test_results
token: ${{ secrets.CODECOV_TOKEN }}Metadata
Metadata
Assignees
Type
Projects
Status