Skip to content

Commit 76bbb50

Browse files
committed
chore: remove data-masking extra to test build hypothesis
1 parent da1e64e commit 76bbb50

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dev:
88
pip install --upgrade pip pre-commit poetry
99
poetry config --local virtualenvs.in-project true
1010
@$(MAKE) dev-version-plugin
11-
poetry install --extras "all datamasking-aws-sdk"
11+
poetry install --extras "all"
1212
pre-commit install
1313

1414
dev-gitpod:
@@ -40,7 +40,7 @@ unit-test:
4040
poetry run pytest tests/unit
4141

4242
e2e-test:
43-
poetry run pytest tests/e2e
43+
python parallel_run_e2e.py
4444

4545
coverage-html:
4646
poetry run pytest -m "not perf" --ignore tests/e2e --cov=aws_lambda_powertools --cov-report=html

tests/e2e/utils/lambda_layer/powertools_layer.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ def __init__(self, output_dir: Path = CDK_OUT_PATH, architecture: Architecture =
2626
self.build_command = (
2727
f"python -m pip install {self.package} {self.build_args} --target {self.target_dir} --verbose"
2828
)
29+
30+
with Path("PIP_COMMAND.txt").open("w") as f:
31+
f.write(self.build_command)
32+
2933
self.cleanup_command = (
3034
f"rm -rf {self.target_dir}/boto* {self.target_dir}/s3transfer* && "
3135
f"rm -rf {self.target_dir}/*dateutil* {self.target_dir}/urllib3* {self.target_dir}/six* && "

0 commit comments

Comments
 (0)