From e4d23b6b510713f45dc0fc2072922647a4451c9f Mon Sep 17 00:00:00 2001 From: CodyKoInABox Date: Sun, 25 May 2025 00:19:48 -0300 Subject: [PATCH] test workflow will generate XML coverage report --- .github/workflows/run_tests.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index aaf16ff..50cbd4c 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -30,8 +30,9 @@ jobs: - name: Run tests with coverage run: | - # Run pytest on the entire tests directory - # Generate coverage report for specified source directories - # Report missing lines directly in the terminal output - python -m pytest tests/ --cov=spice --cov=cli --cov=utils --cov=parser --cov=lexers --cov-report=term-missing + python -m pytest tests/ \ + --cov=spice --cov=cli --cov=utils --cov=parser --cov=lexers \ + --cov-report=term-missing \ + --cov-report=xml # <-- this line generates coverage.xml +