Skip to content

Commit c12971c

Browse files
committed
Attempt to fix tests coverage calculation
1 parent 521219f commit c12971c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ jobs:
4040
pip install codecov coverage
4141
- name: Running tests Python ${{ matrix.python-version }}
4242
run: |
43-
cd styleframe/tests/
44-
coverage run tests.py
43+
coverage run -m unittest discover
4544
coverage xml
4645
- name: Uploading coverage Python ${{ matrix.python-version }}
4746
uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)