Skip to content

Commit

Permalink
feat(ci:circleci): Add test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
lakkeger committed Mar 20, 2024
1 parent 65e41dc commit b20298c
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,30 @@ 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
- run:
name: Install dependencies
command:
pip3 install -r requirements-dev.txt
- 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:
Expand Down

0 comments on commit b20298c

Please sign in to comment.