Skip to content

Commit 9ff6642

Browse files
author
Ramon Adolfo Arambula
committed
Added make coverage-tests + trying to fix uploading to Codecov
1 parent bebbb0a commit 9ff6642

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.coverage

76 KB
Binary file not shown.

.github/workflows/codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
pip install -r requirements-tests.txt
1414
pip install -r requirements-dev.txt
1515
- name: Run tests and collect coverage
16-
run: make tests
16+
run: make coverage-tests
1717
- name: Upload coverage reports to Codecov
1818
run: |
1919
# Replace `linux` below with the appropriate OS

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ tests:
1414
PYTHONPATH=$(CWD)/src:$(CWD)/tests/plugins1:$(CWD)/tests/plugins2:${PYTHONPATH} \
1515
${PYTHON} -m pytest -v $(TESTARGS)
1616

17+
.PHONY: coverage-tests
18+
coverage-tests:
19+
PYTHONPATH=$(CWD)/src:$(CWD)/tests/plugins1:$(CWD)/tests/plugins2:${PYTHONPATH} \
20+
${PYTHON} -m pytest -v --cov $(TESTARGS)
21+
1722
.PHONY: verbose-tests
1823
verbose-tests:
1924
PYTHONPATH=$(CWD)/src:$(CWD)/tests/plugins1:$(CWD)/tests/plugins2:${PYTHONPATH} \

0 commit comments

Comments
 (0)