Skip to content

Commit 6db9079

Browse files
chore(ci): add the Batch Processor feature to nox tests (#4586)
Adding Batch Processor test
1 parent 9486472 commit 6db9079

File tree

7 files changed

+649
-479
lines changed

7 files changed

+649
-479
lines changed

Diff for: Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ coverage-html:
5050
pre-commit:
5151
pre-commit run --show-diff-on-failure
5252

53-
pr: lint lint-docs mypy pre-commit test test-dependencies security-baseline complexity-baseline
53+
pr: lint lint-docs mypy pre-commit test security-baseline complexity-baseline
5454

5555
build: pr
5656
poetry build

Diff for: noxfile.py

+6
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def test_with_only_required_packages(session: nox.Session):
5656
# Typing
5757
# Data Class - without codepipeline dataclass
5858
# Event Handler without OpenAPI
59+
# Batch processor - without pydantic integration
5960
build_and_run_test(
6061
session,
6162
folders=[
@@ -65,6 +66,7 @@ def test_with_only_required_packages(session: nox.Session):
6566
f"{PREFIX_TESTS_FUNCTIONAL}/typing/required_dependencies/",
6667
f"{PREFIX_TESTS_UNIT}/data_classes/required_dependencies/",
6768
f"{PREFIX_TESTS_FUNCTIONAL}/event_handler/required_dependencies/",
69+
f"{PREFIX_TESTS_FUNCTIONAL}/batch/required_dependencies/",
6870
],
6971
)
7072

@@ -103,6 +105,8 @@ def test_with_boto3_sdk_as_required_package(session: nox.Session):
103105
# Parameters
104106
# Feature Flags
105107
# Data Class - only codepipeline dataclass
108+
# Streaming
109+
# Idempotency - DynamoDB persistent layer
106110
build_and_run_test(
107111
session,
108112
folders=[
@@ -149,13 +153,15 @@ def test_with_pydantic_required_package(session: nox.Session, pydantic: str):
149153
"""Tests that only depends for Pydantic library v1 and v2"""
150154
# Event Handler OpenAPI
151155
# Parser
156+
# Batch Processor with pydantic integration
152157

153158
session.install(f"pydantic>={pydantic}")
154159

155160
build_and_run_test(
156161
session,
157162
folders=[
158163
f"{PREFIX_TESTS_FUNCTIONAL}/event_handler/_pydantic/",
164+
f"{PREFIX_TESTS_FUNCTIONAL}/batch/_pydantic/",
159165
f"{PREFIX_TESTS_UNIT}/parser/_pydantic/",
160166
],
161167
)

Diff for: tests/functional/batch/_pydantic/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)