File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,13 +38,13 @@ jobs:
3838 docker build . -t local/test -f Dockerfile.rie \
3939 --build-arg HANDLERS_TO_BUILD="${HANDLERS_TO_BUILD}" \
4040 --build-arg OUTPUT_DIR="${OUTPUT_DIR}"
41-
42- - name : Verify image contents
41+
42+ - name : Test container manually
4343 run : |
44- echo "Checking /var/task contents:"
45- docker run --rm --entrypoint ls local/test -la /var/task
46- echo "Checking if basic-lambda binary exists:"
47- docker run --rm --entrypoint test local/test -f /var/task/basic-lambda && echo "Binary exists" || echo "Binary NOT found"
44+ docker run -d --name test-container -p 9000:8080 local/test basic-lambda
45+ sleep 10
46+ docker logs test-container
47+ docker kill test-container || true
4848
4949 - name : Run tests
5050 uses : aws/containerized-test-runner-for-aws-lambda@main
You can’t perform that action at this time.
0 commit comments