summaryrefslogtreecommitdiff
path: root/cli/.circleci/config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'cli/.circleci/config.yml')
-rw-r--r--cli/.circleci/config.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/cli/.circleci/config.yml b/cli/.circleci/config.yml
new file mode 100644
index 00000000..70d16fea
--- /dev/null
+++ b/cli/.circleci/config.yml
@@ -0,0 +1,38 @@
+version: 2
+workflows:
+ version: 2
+ test:
+ jobs:
+ - test-3.6
+ - test-3.7
+ - test-3.8
+
+jobs:
+ test-3.6: &test-template
+ docker:
+ - image: circleci/python:3.6-buster
+
+ working_directory: ~/repo
+
+ steps:
+ - checkout
+
+ - run:
+ name: Install dependencies
+ command: |
+ poetry install
+
+ - run:
+ name: Run unit tests
+ command: |
+ poetry run pytest -vvv ./tests
+
+ test-3.7:
+ <<: *test-template
+ docker:
+ - image: circleci/python:3.7-buster
+
+ test-3.8:
+ <<: *test-template
+ docker:
+ - image: circleci/python:3.8-buster