From 8699909a45fdf4cbd78a72b0a4347d877ab7fe0c Mon Sep 17 00:00:00 2001 From: Gianni GIUDICE Date: Tue, 12 Jan 2021 15:37:07 +0100 Subject: [PATCH] :tada: Premier build OK --- .circleci/config.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 454ea2e..3a14914 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,9 +5,18 @@ jobs: - image: circleci/python:3.9 steps: - checkout + - restore_cache: + key: deps-{{ checksum "requirements/dev.txt"}}-{{ .Environment.CACHE_VERSION }} - run: name: Installation des dépendances python - command: pip install -r requirements/dev.txt + command: | + python3 -m venv venv + . venv/bin/activate + pip install -r requirements/dev.txt + -save_cache: + key: deps-{{ checksum "requirements/dev.txt"}}-{{ .Environment.CACHE_VERSION }} + paths: + - "venv" workflows: version: 2