Skip to content

Commit 3e612a4

Browse files
committed
Added pytest-cov, to measure how much code is tested
1 parent dc824e0 commit 3e612a4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ jobs:
6868
# if: ${{ matrix.python-version == '3.6' }}
6969
# with:
7070
# extra_args: --all -c .pre-commit-config-gh-${{ matrix.python-version }}.yaml
71-
- name: 'pytest (${{ matrix.python-version }})'
71+
- name: 'pytest + coverage (${{ matrix.python-version }})'
7272
run: |
73-
pytest
73+
pytest --cov=execution_process_metrics_collector
7474
- name: Get transitive dependencies licences
7575
id: license_check_print_report
7676
# uses: pilosus/action-pip-license-checker@v1.0.0

dev-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ twine
55
mypy >= 1.1.1
66
-r mypy-requirements.txt
77
pytest
8+
pytest-cov

0 commit comments

Comments
 (0)