diff --git a/.github/workflows/quality_check_pydanticv2.yml b/.github/workflows/quality_check_pydanticv2.yml index b8fa0bebc10..841a6ab79cd 100644 --- a/.github/workflows/quality_check_pydanticv2.yml +++ b/.github/workflows/quality_check_pydanticv2.yml @@ -64,13 +64,5 @@ jobs: run: poetry add "pydantic=^2.0.3" - name: Install dependencies run: make dev - - name: Formatting and Linting - run: make lint - - name: Static type checking - run: make mypy - name: Test with pytest - run: make test - - name: Security baseline - run: make security-baseline - - name: Complexity baseline - run: make complexity-baseline + run: make test-pydanticv2 diff --git a/Makefile b/Makefile index d52d0b46cbb..2cff4996889 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,9 @@ test: poetry run pytest -m "not perf" --ignore tests/e2e --cov=aws_lambda_powertools --cov-report=xml poetry run pytest --cache-clear tests/performance +test-pydanticv2: + poetry run pytest -m "not perf" --ignore tests/e2e + unit-test: poetry run pytest tests/unit