Skip to content

Commit

Permalink
Codecove has released beta version of Test Analytics feature (#3996)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ggivo authored Oct 21, 2024
1 parent 498fee3 commit f1750fa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ignore:
- "**/*.txt"
7 changes: 7 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,10 @@ jobs:
with:
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload test results to Codecov
if: ${{ github.event_name == 'schedule' || (github.event_name == 'push') || github.event_name == 'workflow_dispatch'}}
uses: codecov/test-results-action@v1
with:
fail_ci_if_error: false
files: ./target/surefire-reports/TEST*
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit f1750fa

Please sign in to comment.