Skip to content

Commit

Permalink
Cache python setup
Browse files Browse the repository at this point in the history
  • Loading branch information
lakkeger committed Apr 9, 2024
1 parent d31bfe9 commit 247fa3a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ phases:
python: 3.11
steps:
- run: |
pyenv install 3.9
pyenv global 3.9
test -d /root/.pyenv/versions/3.9.16/bin || pyenv install 3.9.16
pyenv global 3.9.16
- run: pip install -r requirements-dev.txt
- run: docker pull public.ecr.aws/localstack/localstack-pro:latest
- run: docker image tag public.ecr.aws/localstack/localstack-pro:latest localstack/localstack-pro:latest
Expand All @@ -33,3 +33,7 @@ phases:
- pytest tests
finally:
- localstack logs

cache:
paths:
- /root/.pyenv/versions/3.9.16

0 comments on commit 247fa3a

Please sign in to comment.