Skip to content

Commit f1750fa

Browse files
authored
Codecove has released beta version of Test Analytics feature (#3996)
* Codecov Test Analytics integration Codecove has released beta version of Test Analytics feature more details can be found [here|https://docs.codecov.com/docs/test-result-ingestion-beta] Since we are already integrated with Codecov (storing code coverage data) the idea is to try out if Test Analytics feature will provide visibility over flaky tests and stability of the tests/build. Hopefully, we will have a base to compare and identify regressions. Changes (only in build actions) - Add step to publish junit report files to codecove - Add basic codecov.yml config (filter out files that are not junit reports) Conditionally upload junit reports only on nightly build & push to branch * Remove verbose flag * Push test results also if job manully triggered
1 parent 498fee3 commit f1750fa

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/codecov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ignore:
2+
- "**/*.txt"

.github/workflows/integration.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,10 @@ jobs:
6060
with:
6161
fail_ci_if_error: false
6262
token: ${{ secrets.CODECOV_TOKEN }}
63+
- name: Upload test results to Codecov
64+
if: ${{ github.event_name == 'schedule' || (github.event_name == 'push') || github.event_name == 'workflow_dispatch'}}
65+
uses: codecov/test-results-action@v1
66+
with:
67+
fail_ci_if_error: false
68+
files: ./target/surefire-reports/TEST*
69+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)