Skip to content

Commit

Permalink
debug(ci:circleci): Dump logs after test fail
Browse files Browse the repository at this point in the history
  • Loading branch information
lakkeger committed Mar 20, 2024
1 parent b20298c commit bf698c5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
AWS_REGION: us-east-1
AWS_ACCESS_KEY_ID: test
AWS_SECRET_ACCESS_KEY: test
DEBUG: 1
LS_LOG: trace
steps:
- restore_cache:
key: python-deps
Expand All @@ -53,6 +55,10 @@ jobs:
name: Run Tests
command:
pytest tests
- run:
when: on_fail
name: Dump Localstack logs
command: localstack logs | tee localstack.log
workflows:
do-tests:
jobs:
Expand Down

0 comments on commit bf698c5

Please sign in to comment.