File tree Expand file tree Collapse file tree 17 files changed +72
-39
lines changed
Expand file tree Collapse file tree 17 files changed +72
-39
lines changed Original file line number Diff line number Diff line change @@ -85,3 +85,11 @@ test-prod:
8585
8686setup-python-envs :
8787 scripts/setup-python-envs.sh
88+
89+ unit-test-all :
90+ make -C ack_backend test
91+ make -C backend test
92+ make -C delta_backend test
93+ make -C filenameprocessor test
94+ make -C mesh_processor test
95+ make -C recordprocessor test
Original file line number Diff line number Diff line change 44package : build
55 mkdir -p build
66 docker run --rm -v $(shell pwd) /build:/build ack-lambda-build
7-
7+
88test :
9- python -m unittest
9+ poetry run python -m unittest
1010
11- .PHONY : build package
11+ .PHONY : build package
Original file line number Diff line number Diff line change 1- [tool . poetry ]
1+ [project ]
22name = " ack-code"
33version = " 0.1.0"
44description = " "
5- authors = [" Your Name <you@example.com>" ]
5+ authors = [{ name = " Your Name" , email = " <you@example.com>" } ]
66readme = " README.md"
77
8+ [tool .poetry ]
9+ package-mode = false
10+
811[tool .poetry .dependencies ]
912python = " ~3.10"
1013boto3 = " ~1.26.90"
1114mypy-boto3-dynamodb = " ^1.26.164"
1215freezegun = " ^1.5.1"
1316moto = " ~4.2.11"
1417
15-
1618[build-system ]
1719requires = [" poetry-core" ]
1820build-backend = " poetry.core.masonry.api"
Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ package: build
66 docker run --rm -v $(shell pwd) /build:/build imms-lambda-build
77
88test :
9- python -m unittest
9+ poetry run python -m unittest
1010
1111.PHONY : build package test
Original file line number Diff line number Diff line change 1- [tool . poetry ]
1+ [project ]
22name = " backend"
33version = " 0.1.0"
44description = " "
5- authors = [" Your Name <you@example.com>" ]
5+ authors = [{ name = " Your Name" , email = " <you@example.com>" } ]
66readme = " README.md"
7+
8+ [tool .poetry ]
79packages = [{include = " src" }]
10+ package-mode = false
811
912[tool .poetry .dependencies ]
1013python = " ~3.10"
Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ package: build
66 docker run --rm -v $(shell pwd) /build:/build delta-lambda-build
77
88test :
9- python -m unittest
9+ poetry run python -m unittest
1010
11- .PHONY : build package
11+ .PHONY : build package
Original file line number Diff line number Diff line change 1- [tool . poetry ]
1+ [project ]
22name = " delta-code"
33version = " 0.1.0"
44description = " "
5- authors = [" Your Name <you@example.com>" ]
5+ authors = [{ name = " Your Name" , email = " <you@example.com>" } ]
66readme = " README.md"
77
8+ [tool .poetry ]
9+ package-mode = false
10+
811[tool .poetry .dependencies ]
912python = " ~3.10"
1013boto3 = " ~1.26.90"
Original file line number Diff line number Diff line change 1- [tool . poetry ]
1+ [project ]
22name = " e2e"
33version = " 0.1.0"
44description = " End-to-end tests for immunization-fhir-api"
5- authors = [" Your Name <you@example.com>" ]
5+ authors = [{ name = " Your Name" , email = " <you@example.com>" } ]
66license = " MIT"
77readme = " README.md"
88
9+ [tool .poetry ]
10+ package-mode = false
11+
912[tool .poetry .dependencies ]
1013python = " ~3.10"
1114boto3 = " ^1.34.57"
Original file line number Diff line number Diff line change 1- [tool . poetry ]
1+ [project ]
22name = " e2e_batch"
33version = " 0.1.0"
44description = " End-to-end tests for immunization-batch"
5- authors = [" Your Name <you@example.com>" ]
5+ authors = [{ name = " Your Name" , email = " <you@example.com>" } ]
66license = " MIT"
77readme = " README.md"
88
9+ [tool .poetry ]
10+ package-mode = false
11+
912[tool .poetry .dependencies ]
1013python = " ~3.10"
1114boto3 = " ~1.26.90"
12- pandas = " ^2.2.3"
15+ pandas = " ^2.2.3"
Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ package: build
66 docker run --rm -v $(shell pwd) /build:/build imms-lambda-build
77
88test :
9- python -m unittest
9+ poetry run python -m unittest
1010
1111coverage-run :
1212 coverage run -m unittest discover
1313
1414coverage-report :
15- coverage report -m
15+ coverage report -m
1616
1717coverage-html :
18- coverage html
18+ coverage html
1919
2020.PHONY : build package test coverage-run coverage-report coverage-html
You can’t perform that action at this time.
0 commit comments