diff --git a/.circleci/circleci.yml b/.circleci/circleci.yml new file mode 100644 index 0000000..7502217 --- /dev/null +++ b/.circleci/circleci.yml @@ -0,0 +1,19 @@ +version: 2.1 +jobs: + build: + docker: + - image: circleci/python:3.9-buster-node-browsers + steps: + - checkout + - restore_cache: + key: deps-{{ checksum "requirements/dev.txt"}}-{{ .Environment.CACHE_VERSION }} + - run: + name: Install dependencies in a python venv + 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" \ No newline at end of file