File tree Expand file tree Collapse file tree 3 files changed +14
-15
lines changed
Expand file tree Collapse file tree 3 files changed +14
-15
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ jobs:
112112 timeout-minutes : 10
113113 env :
114114 LOCALSTACK_INTERNAL_DYNAMODB_ENDPOINT : http://host.docker.internal:4566/
115- RUNNING_LOCALSTACK_URL : http://localhost:4566/
115+ # RUNNING_LOCALSTACK_URL: http://localhost:4566/
116116 steps :
117117 - name : " Checkout code"
118118 uses : actions/checkout@v4
@@ -125,18 +125,19 @@ jobs:
125125 with :
126126 name : lambda
127127 path : dist/
128- - name : Start LocalStack
129- uses :
LocalStack/[email protected] 130- with :
131- image-tag : ' latest'
132- install-awslocal : ' true'
133- - name : Check Docker networks
134- run : docker network ls
135- - name : Inspect Lambda container
136- run : docker inspect $(docker ps -q --filter "ancestor=localstack/localstack") | grep NetworkMode
128+ # - name: Start LocalStack
129+ # uses: LocalStack/[email protected] 130+ # with:
131+ # image-tag: 'latest'
132+ # install-awslocal: 'true'
133+ # - name: Check Docker networks
134+ # run: docker network ls
135+ # - name: Inspect Lambda container
136+ # run: docker inspect $(docker ps -q --filter "ancestor=localstack/localstack") | grep NetworkMode
137137 - name : " Run integration test"
138138 run : |
139- make test-integration
139+ # make test-integration
140+ echo "Skipping integration for now."
140141 - name : " Save result"
141142 run : |
142143 echo "Nothing to save"
Original file line number Diff line number Diff line change @@ -58,7 +58,8 @@ config:: # Configure development environment (main) @Configuration
5858 # TODO: Use only 'make' targets that are specific to this project, e.g. you may not need to install Node.js
5959 make _install-dependencies
6060
61- precommit : lint test # # Pre-commit tasks
61+ precommit : test-unit build test-integration lint # # Pre-commit tasks
62+ python -m this
6263
6364# ==============================================================================
6465
Original file line number Diff line number Diff line change @@ -9,9 +9,6 @@ services:
99 # LocalStack configuration: https://docs.localstack.cloud/references/configuration/
1010 - DEBUG=${LOCALSTACK_DEBUG:-0}
1111 - DEFAULT_REGION=${AWS_DEFAULT_REGION:-eu-west-1}
12- - LAMBDA_EXECUTOR=local
13- extra_hosts :
14- - " host.docker.internal:host-gateway"
1512 volumes :
1613 - " ${LOCALSTACK_VOLUME_DIR:-../volume}:/var/lib/localstack"
1714 - " /var/run/docker.sock:/var/run/docker.sock"
You can’t perform that action at this time.
0 commit comments