From 39687cbdcd5967a801bfab9147e676f1bb9514dd Mon Sep 17 00:00:00 2001 From: lakkeger Date: Wed, 20 Mar 2024 13:44:25 +0100 Subject: [PATCH] fix(ci:circleci): Add python3 --- .circleci/config.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ccf2185..ebcbbab 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,19 +1,19 @@ version: 2.1 orbs: localstack: localstack/platform@2.1 - jobs: save-state: - docker: - - image: cimg/python:3.9 executor: localstack/default steps: + - run: + name: Install python3 + command: sudo apt-get update && sudo apt-get install -y python3 - localstack/start - checkout - run: name: Install dependencies command: - pip install -r requirements-dev.txt + pip3 install -r requirements-dev.txt - localstack/wait - run: name: Deploy infrastructure @@ -31,16 +31,17 @@ jobs: # - ~/.cache/pip # key: python-deps load-state: - docker: - - image: cimg/python:3.9 executor: localstack/default steps: + - run: + name: Install python3 + command: sudo apt-get update && sudo apt-get install -y python3 - localstack/start - checkout - run: name: Install dependencies command: - pip install -r requirements-dev.txt + pip3 install -r requirements-dev.txt - localstack/wait - restore_cache: key: ls-state