Skip to content

Commit e07f431

Browse files
committed
CCM-12616: test
1 parent eae4795 commit e07f431

File tree

3 files changed

+12
-15
lines changed

3 files changed

+12
-15
lines changed

lambdas/mesh-download/Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@ test:
1414
poetry run pytest
1515

1616
coverage:
17-
@cd ../.. && poetry -C lambdas/mesh-download run pytest lambdas/mesh-download/src/__tests__/ \
18-
--cov=lambdas/mesh-download/src \
19-
--cov-config=lambdas/mesh-download/pytest.ini \
20-
--cov-report=html:lambdas/mesh-download/htmlcov \
17+
poetry run pytest src/__tests__/ \
18+
--cov=src \
19+
--cov-report=html:htmlcov \
2120
--cov-report=term-missing \
22-
--cov-report=xml:lambdas/mesh-download/coverage.xml \
21+
--cov-report=xml:coverage.xml \
2322
--cov-branch
2423

2524
lint:

lambdas/mesh-poll/Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@ test:
1414
poetry run pytest
1515

1616
coverage:
17-
@cd ../.. && poetry -C lambdas/mesh-poll run pytest lambdas/mesh-poll/src/__tests__/ \
18-
--cov=lambdas/mesh-poll/src \
19-
--cov-config=lambdas/mesh-poll/pytest.ini \
20-
--cov-report=html:lambdas/mesh-poll/htmlcov \
17+
poetry run pytest src/__tests__/ \
18+
--cov=src \
19+
--cov-report=html:htmlcov \
2120
--cov-report=term-missing \
22-
--cov-report=xml:lambdas/mesh-poll/coverage.xml \
21+
--cov-report=xml:coverage.xml \
2322
--cov-branch
2423

2524
lint:

utils/metric-publishers/Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@ test:
1414
poetry run pytest || echo
1515

1616
coverage:
17-
@cd ../.. && poetry -C utils/metric-publishers run pytest utils/metric-publishers/tests/ \
18-
--cov=utils/metric-publishers/metric_publishers \
19-
--cov-config=utils/metric-publishers/pytest.ini \
20-
--cov-report=html:utils/metric-publishers/htmlcov \
17+
poetry run pytest tests/ \
18+
--cov=metric_publishers \
19+
--cov-report=html:htmlcov \
2120
--cov-report=term-missing \
22-
--cov-report=xml:utils/metric-publishers/coverage.xml \
21+
--cov-report=xml:coverage.xml \
2322
--cov-branch
2423

2524
lint:

0 commit comments

Comments
 (0)