File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 58
58
59
59
- name : Run the python tests suite
60
60
working-directory : python
61
- run : uv run --python ${{ matrix.python-version }} pytest tests -m "not slow"
61
+ run : |
62
+ uv run --python ${{ matrix.python-version }} pytest tests -m "not slow" --cov=src/magika --cov-report=xml --cov-report=term
63
+
64
+ - name : Upload coverage report to Coveralls
65
+ if : always()
66
+ working-directory : python
67
+ uses : coverallsapp/github-action@v2
68
+ with :
69
+ path-to-coverage : coverage.xml
62
70
63
71
- name : Run magika --version
64
72
working-directory : python
Original file line number Diff line number Diff line change @@ -7,4 +7,5 @@ filterwarnings =
7
7
markers =
8
8
smoketest
9
9
slow
10
-
10
+
11
+ addopts = --cov =src/magika --cov-report =term --cov-report =xml
You can’t perform that action at this time.
0 commit comments