Skip to content

Commit a5af92c

Browse files
Update tests.yml
1 parent 7cdb38c commit a5af92c

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,14 @@ jobs:
2828
run: |
2929
pip install ruff
3030
ruff check lumix/ tests/
31+
- name: Run tests with coverage
32+
run: |
33+
pytest tests/ --cov=lumix --cov-report=xml --cov-report=term
34+
- name: Upload coverage to Codecov
35+
uses: codecov/codecov-action@v5
36+
with:
37+
token: ${{ secrets.CODECOV_TOKEN }}
38+
file: ./coverage.xml
39+
flags: unittests
40+
name: codecov-umbrella
41+
fail_ci_if_error: false

0 commit comments

Comments
 (0)