Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): add the Batch Processor feature to nox tests #4586

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ coverage-html:
pre-commit:
pre-commit run --show-diff-on-failure

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

build: pr
poetry build
Expand Down
6 changes: 6 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def test_with_only_required_packages(session: nox.Session):
# Typing
# Data Class - without codepipeline dataclass
# Event Handler without OpenAPI
# Batch processor - without pydantic integration
build_and_run_test(
session,
folders=[
Expand All @@ -65,6 +66,7 @@ def test_with_only_required_packages(session: nox.Session):
f"{PREFIX_TESTS_FUNCTIONAL}/typing/required_dependencies/",
f"{PREFIX_TESTS_UNIT}/data_classes/required_dependencies/",
f"{PREFIX_TESTS_FUNCTIONAL}/event_handler/required_dependencies/",
f"{PREFIX_TESTS_FUNCTIONAL}/batch/required_dependencies/",
],
)

Expand Down Expand Up @@ -103,6 +105,8 @@ def test_with_boto3_sdk_as_required_package(session: nox.Session):
# Parameters
# Feature Flags
# Data Class - only codepipeline dataclass
# Streaming
# Idempotency - DynamoDB persistent layer
build_and_run_test(
session,
folders=[
Expand Down Expand Up @@ -149,13 +153,15 @@ def test_with_pydantic_required_package(session: nox.Session, pydantic: str):
"""Tests that only depends for Pydantic library v1 and v2"""
# Event Handler OpenAPI
# Parser
# Batch Processor with pydantic integration

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

build_and_run_test(
session,
folders=[
f"{PREFIX_TESTS_FUNCTIONAL}/event_handler/_pydantic/",
f"{PREFIX_TESTS_FUNCTIONAL}/batch/_pydantic/",
f"{PREFIX_TESTS_UNIT}/parser/_pydantic/",
],
)
Expand Down
Empty file.
Loading