Skip to content

Commit ee21f54

Browse files
authored
Update config.yml
1 parent ce655f6 commit ee21f54

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

.circleci/config.yml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
version: 2.1
22

3+
orbs:
4+
python: circleci/python@4.0.0
5+
36
jobs:
47
save-state:
58
machine:
@@ -18,21 +21,20 @@ jobs:
1821
keys:
1922
- python-deps-{{ checksum "requirements-dev.txt" }}
2023
- python-deps
21-
- run:
22-
name: Install Python 3.11
23-
command: |
24-
test -d /opt/circleci/.pyenv/versions/3.11.1 || pyenv install 3.11.1
25-
pyenv global 3.11.1
24+
# - run:
25+
# name: Install Python 3.11
26+
# command: |
27+
# test -d /opt/circleci/.pyenv/versions/3.11.1 || pyenv install 3.11.1
28+
# pyenv global 3.11.1
2629
- run:
2730
name: Install LocalStack CLI + awslocal
2831
command: |
29-
python3 -m pip install --user --upgrade pip
30-
python3 -m pip install --user localstack awscli-local[ver1]
31-
echo 'export PATH=$HOME/.local/bin:$PATH' >> "$BASH_ENV"
32+
pip3 install localstack awscli-local[ver1]
33+
# echo 'export PATH=$HOME/.local/bin:$PATH' >> "$BASH_ENV"
3234
- run:
3335
name: Start LocalStack
3436
command: |
35-
source "$BASH_ENV"
37+
# source "$BASH_ENV"
3638
docker pull localstack/localstack:latest
3739
localstack start -d
3840
localstack wait -t 60
@@ -76,19 +78,13 @@ jobs:
7678
- checkout
7779
- restore_cache:
7880
key: python-deps-
79-
- run:
80-
name: Choose Python version
81-
command: pyenv global 3.11.1
8281
- run:
8382
name: Install LocalStack CLI + awslocal
8483
command: |
85-
python3 -m pip install --user --upgrade pip
86-
python3 -m pip install --user localstack awscli-local[ver1]
87-
echo 'export PATH=$HOME/.local/bin:$PATH' >> "$BASH_ENV"
84+
pip3 install localstack awscli-local[ver1]
8885
- run:
8986
name: Start LocalStack
9087
command: |
91-
source "$BASH_ENV"
9288
docker pull localstack/localstack:latest
9389
localstack start -d
9490
localstack wait -t 60

0 commit comments

Comments
 (0)