Skip to content

Commit 3c5ed89

Browse files
committed
ci: add branch coverage measurement
1 parent d39c5f6 commit 3c5ed89

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,12 @@ jobs:
5555
run: uv sync --extra dev
5656

5757
- name: Run tests with coverage
58-
run: uv run pytest -v --cov=jsonpath --cov-report=xml --cov-report=html
58+
run: uv run pytest -v --cov=jsonpath --cov-branch --cov-report=xml --cov-report=html
5959

6060
- name: Upload coverage to Codecov
6161
if: matrix.python-version == '3.12'
6262
uses: codecov/codecov-action@v5
6363
with:
64-
files: ./coverage.xml
65-
flags: unittests
6664
token: ${{ secrets.CODECOV_TOKEN }}
6765
fail_ci_if_error: false
6866

0 commit comments

Comments
 (0)