File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 4646 cd collect-raw-metric-data-extension && make install
4747 - name : Setup LocalStack
4848 env :
49- LOCALSTACK_API_KEY : ${{ secrets.TEST_LOCALSTACK_API_KEY }}
49+ LOCALSTACK_AUTH_TOKEN : ${{ secrets.TEST_LOCALSTACK_AUTH_TOKEN }}
5050 run : |
5151 source .venv/bin/activate
5252 pip install localstack
5959 echo "Startup complete"
6060 - name : Run Moto Integration Tests against LocalStack
6161 env :
62- LOCALSTACK_API_KEY : ${{ secrets.TEST_LOCALSTACK_API_KEY }}
62+ LOCALSTACK_AUTH_TOKEN : ${{ secrets.TEST_LOCALSTACK_AUTH_TOKEN }}
6363 run : |
6464 source .venv/bin/activate
6565 python -m pytest --durations=10 --services=${{ inputs.selected-services || 'all' }} --timeout=300 --capture=no --junitxml=target/reports/pytest.xml moto/tests --tb=line
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ def _startup_localstack():
119119 _localstack_health_check ()
120120 except :
121121 os .system (
122- "DNS_ADDRESS=127.0.0.1 EXTENSION_DEV_MODE=1 DEBUG=1 DISABLE_EVENTS=1 LOCALSTACK_API_KEY=$LOCALSTACK_API_KEY localstack start -d"
122+ "DNS_ADDRESS=127.0.0.1 EXTENSION_DEV_MODE=1 DEBUG=1 DISABLE_EVENTS=1 LOCALSTACK_AUTH_TOKEN=$LOCALSTACK_AUTH_TOKEN localstack start -d"
123123 )
124124
125125 _localstack_health_check ()
You can’t perform that action at this time.
0 commit comments