Skip to content

Commit c291eda

Browse files
committed
add codecov to PR action
1 parent c4531ea commit c291eda

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/pull_request.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,8 @@ jobs:
3939
pip install -e .[babytest]
4040
- name: Unit Tests
4141
run: |
42-
pytest -vv ./tests/unit
42+
python -m pytest ./tests/unit -vv --cov=guidance --cov-report=xml
43+
- name: Upload coverage reports to Codecov
44+
uses: codecov/codecov-action@v4
45+
with:
46+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)