diff --git a/.circleci/config.yml b/.circleci/config.yml index e443647..51d5a46 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,17 +29,26 @@ jobs: key: python-deps load-state: executor: localstack/default + environment: + AWS_DEFAULT_REGION: us-east-1 + AWS_REGION: us-east-1 + AWS_ACCESS_KEY_ID: test + AWS_SECRET_ACCESS_KEY: test steps: - - localstack/start - - checkout - restore_cache: key: python-deps + - localstack/start + - checkout - localstack/wait - restore_cache: key: ls-state - run: name: Import state - command: (test -f ls-state.zip && localstack state import ls-state.zip) || true + command: test -f ls-state.zip && localstack state import ls-state.zip + - run: + name: Run Tests + command: + pytest tests workflows: do-tests: jobs: