Skip to content

Commit e4d23b6

Browse files
committed
test workflow will generate XML coverage report
1 parent 41e5b60 commit e4d23b6

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/run_tests.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ jobs:
3030
3131
- name: Run tests with coverage
3232
run: |
33-
# Run pytest on the entire tests directory
34-
# Generate coverage report for specified source directories
35-
# Report missing lines directly in the terminal output
36-
python -m pytest tests/ --cov=spice --cov=cli --cov=utils --cov=parser --cov=lexers --cov-report=term-missing
33+
python -m pytest tests/ \
34+
--cov=spice --cov=cli --cov=utils --cov=parser --cov=lexers \
35+
--cov-report=term-missing \
36+
--cov-report=xml # <-- this line generates coverage.xml
37+
3738

0 commit comments

Comments
 (0)