Skip to content

Commit 6cad90d

Browse files
committed
CCM-12616: testing pipeline
1 parent b8a534e commit 6cad90d

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

lambdas/mesh-poll/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ test-coverage:
1414
poetry run pytest --cov --cov-report xml:target/coverage/@comms/mesh-poll-lambda/cobertura-coverage.xml
1515

1616
lint:
17-
poetry run pylint mesh_poll
17+
poetry run pylint src
1818

1919
format:
2020
poetry run autopep8 -ri .

lambdas/mesh-poll/__tests__/test_mesh_poll.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from mesh_poll import __version__
1+
from src import __version__
22

33

44
def test_version():

lambdas/mesh-poll/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "mesh-poll"
33
version = "0.1.0"
44
description = "Poll a MESH mailbox"
55
authors = ["Your Name <you@example.com>"]
6+
package-mode = false
67

78
[tool.poetry.dependencies]
89
python = "^3.9"
@@ -17,7 +18,7 @@ pytest-cov = "^4.0.0"
1718
jake = "^3.0.1"
1819

1920
[tool.coverage.run]
20-
omit = ["tests/*"]
21+
omit = ["__tests__/*"]
2122

2223
[build-system]
2324
requires = ["poetry-core>=1.0.0"]

0 commit comments

Comments
 (0)