File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed
Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1212coverage :
1313 @cd ../.. && poetry -C utils/event-publisher-py run pytest utils/event-publisher-py/event_publisher/__tests__/ \
1414 --cov=utils/event-publisher-py/event_publisher \
15- --cov-config=utils/event-publisher-py/pyproject.toml \
15+ --cov-config=utils/event-publisher-py/pytest.ini \
1616 --cov-report=html:utils/event-publisher-py/htmlcov \
1717 --cov-report=term-missing \
1818 --cov-report=xml:utils/event-publisher-py/coverage.xml \
Original file line number Diff line number Diff line change @@ -21,10 +21,6 @@ pytest-cov = "^6.0.0"
2121pytest-mock = " ^3.14.0"
2222moto = " ^5.0.0"
2323
24- [tool .coverage .run ]
25- relative_files = true
26- omit = [" */__tests__/*" ]
27-
2824[build-system ]
2925requires = [" poetry-core>=1.0.0" ]
3026build-backend = " poetry.core.masonry.api"
Original file line number Diff line number Diff line change @@ -10,3 +10,13 @@ addopts =
1010
1111[tool:pytest]
1212testpaths = event_publisher/__tests__
13+
14+ [coverage:run]
15+ relative_files = True
16+ omit =
17+ */__tests__/*
18+ */test_*.py
19+ */__pycache__/*
20+ */venv/*
21+ */.venv/*
22+ */env/*
You can’t perform that action at this time.
0 commit comments