Skip to content

Commit

Permalink
Add RAG UT coverage to the codecov report
Browse files Browse the repository at this point in the history
Signed-off-by: Heba Elayoty <heelayot@microsoft.com>
  • Loading branch information
helayoty committed Jan 10, 2025
1 parent d2b3ccd commit 30cc213
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/unit-tests-ragengine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,16 @@ jobs:
- name: Run unit tests
run: |
make rag-service-test
- name: Generate Report
run: |
pip install coverage
coverage run -m unittest
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # v5.1.2
with:
## Comma-separated list of files to upload
files: ./coverage-rag.txt
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 30cc213

Please sign in to comment.