aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/dev-tests.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/.github/workflows/dev-tests.yml b/.github/workflows/dev-tests.yml
index 443e03b..e183f36 100644
--- a/.github/workflows/dev-tests.yml
+++ b/.github/workflows/dev-tests.yml
@@ -39,14 +39,21 @@ jobs:
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
- pip install pytest pytest-testdox
+ pip install pytest pytest-testdox pytest-cov
pip install -r requirements.txt
- name: Run pytest
- run: pytest tests/ -vvrP --testdox
+ run: pytest -v --cov=src --cov-report=xml --cov-report=term-missing
continue-on-error: true
id: pytest
- name: Check on failures
if: steps.pytest.outcome == 'failure'
run: exit 1
+
+ - name: Upload Coverage Report'
+ uses: actions/upload-artifact@v4
+ with:
+ name: cov-report
+ path: coverage.xml
+ retention-days: 7
git.ajschof.me — hosted by ajschofield — powered by cgit