Skip to content

Commit

Permalink
Add test-requirements install to test-lambda stage
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTeaCat committed Oct 2, 2023
1 parent 1c62285 commit 086f6ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build_setup/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ RUN rm -rf /build_setup

FROM build-python-lambda as test-python-lambda
RUN python3 -m pip install pytest pytest-cov
COPY tests/requirements.txt /github-api-discovery/tests/requirements.txt
RUN python3 -m pip install -r /github-api-discovery/tests/requirements.txt
COPY tests/ ${LAMBDA_TASK_ROOT}/tests
RUN PYTHONPATH=${LAMBDA_TASK_ROOT} pytest --cov ${LAMBDA_TASK_ROOT} --cov-report=xml:coverage.xml -vv -x

Expand Down

0 comments on commit 086f6ee

Please sign in to comment.