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 55
55
56
56
- name : Run the python tests suite
57
57
working-directory : python
58
- run : uv run --python ${{ matrix.python-version }} pytest tests -m "not slow"
58
+ run : |
59
+ uv run --python ${{ matrix.python-version }} pytest tests -m "not slow" --cov=src/magika --cov-report=xml --cov-report=term
60
+
61
+ - name : Upload coverage report to Coveralls
62
+ if : always()
63
+ working-directory : python
64
+ uses : coverallsapp/github-action@v2
65
+ with :
66
+ path-to-coverage : coverage.xml
59
67
60
68
- name : Run magika --version
61
69
working-directory : python
Original file line number Diff line number Diff line change @@ -5,4 +5,5 @@ log_level = WARNING
5
5
markers =
6
6
smoketest
7
7
slow
8
-
8
+
9
+ addopts = --cov =src/magika --cov-report =term --cov-report =xml
You can’t perform that action at this time.
0 commit comments