Upload test results to codecov.io#1857
Merged
alcaeus merged 5 commits intomongodb:v2.xfrom Sep 25, 2025
Merged
Conversation
1e8d765 to
5883908
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR adds test results upload functionality to codecov.io across multiple CI environments (GitHub Actions and Evergreen) to help identify flaky tests, similar to work previously done in PHPLIB.
- Configures PHP test environments to generate JUnit XML test results files
- Adds Codecov test results upload steps to GitHub Actions workflows
- Implements Codecov CLI integration in Evergreen configuration with proper authentication and flag tagging
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/windows-tests.yml | Adds TEST_PHP_JUNIT environment variable and Codecov upload step for Windows tests |
| .github/workflows/tests.yml | Refactors test execution to use environment variables and adds Codecov upload steps for Linux tests |
| .evergreen/config/functions.yml | Implements Codecov CLI download, verification, and test results upload in Evergreen CI |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
GromNaN
approved these changes
Sep 25, 2025
alcaeus
added a commit
that referenced
this pull request
Jan 21, 2026
* v2.x: (39 commits) Bump tests/drivers-evergreen-tools from `61cb4e9` to `5514d6a` (#1908) Bump tests/drivers-evergreen-tools from `514927f` to `61cb4e9` (#1906) Bump tests/drivers-evergreen-tools from `ebe98d0` to `514927f` (#1905) PHPC-2649: Update to libmongocrypt 1.17.0 (#1904) PHPC-2654: Update to libmongoc 2.2.1 (#1900) Bump tests/drivers-evergreen-tools from `c92d062` to `ebe98d0` (#1903) Bump actions/cache from 4 to 5 (#1902) Bump tests/drivers-evergreen-tools from `c83e428` to `c92d062` (#1899) Bump tests/drivers-evergreen-tools from `cb019f7` to `c83e428` (#1898) Bump actions/checkout from 5 to 6 (#1895) Bump tests/drivers-evergreen-tools from `f8ab2a5` to `cb019f7` (#1896) PHPC-2634: Binary vector corpus tests (#1892) Bump tests/drivers-evergreen-tools from `1dcbfe4` to `f8ab2a5` (#1891) PHPC-2638 and PHPC-2630: Bump to libmongoc 2.1.2 and libmongocrypt 1.16.0 (#1868) Fix git submodule command in CONTRIBUTING.md PHPC-2627: Use appropriate return type for zend_object_iterator_funcs.valid (#1890) Bump github/codeql-action from 3 to 4 (#1889) Bump tests/drivers-evergreen-tools from `3b3f081` to `1dcbfe4` (#1878) PHPC-2474: Support Binary vector subtype (#1853) Upload test results to codecov.io (#1857) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR replicates work done in PHPLIB to upload test results to codecov.io. This should help with identifying flaky tests.