Skip to content

Commit

Permalink
feat(ci:circleci): Install 3.9 with pyenv
Browse files Browse the repository at this point in the history
  • Loading branch information
lakkeger committed Mar 20, 2024
1 parent bf698c5 commit dd1e4a4
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ jobs:
steps:
- localstack/start
- checkout
- run:
name: Install pyenv
command: |
curl https://pyenv.run | bash
pyenv install 3.9.16
pyenv global 3.9.16
- run:
name: Install dependencies
command:
Expand All @@ -25,7 +31,7 @@ jobs:
key: ls-state
- save_cache:
paths:
- ~/.cache/pip
- ~/.pyenv/versions/3.9.16/lib/python3.9/site-packages
key: python-deps
load-state:
executor: localstack/default
Expand All @@ -37,8 +43,16 @@ jobs:
DEBUG: 1
LS_LOG: trace
steps:
- run:
name: Install pyenv
command:
curl https://pyenv.run | bash
- restore_cache:
key: python-deps
- run:
name: Choose python version
command:
pyenv global 3.9.16
- localstack/start
- checkout
- run:
Expand Down

0 comments on commit dd1e4a4

Please sign in to comment.