From 6457cb79aa9e96dcfc95e2691f20cdf7616f8c87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20GAUTREAU?= Date: Tue, 12 Jan 2021 14:38:33 +0100 Subject: [PATCH] :construction_worker: : add CI config files --- .circleci/config.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..c2dcf35 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,26 @@ +version: 2.1 + +orbs: + python: circleci/python@3.6.4 + +jobs: + build-and-test: + executor: python/default + steps: + - checkout + - python/load-cache + - python/install-deps + - run: + command: | + sudo pip install pipenv + pipenv install + - python/save-cache + - run : + command: | + pipenv run python manage.py test + + +workflows: + main: + jobs: + - build-and-test