add poetry build step
#
version: 2
jobs:
+ make_a_release:
+ docker:
+ - image: circleci/python:3.7.1
+ working_directory: ~/repo
+ steps:
+ - checkout
+
+ # Download and cache dependencies
+ - restore_cache:
+ keys:
+ - v1-dependencies-poetry
+
+ - run:
+ name: install dependencies
+ command: |
+ python3 -m venv venv
+ . venv/bin/activate
+ pip install poetry
+
+ - save_cache:
+ paths:
+ - ./venv
+ key: v1-dependencies-poetry
+
+ - run:
+ name: build release
+ command: |
+ . venv/bin/activate
+ poetry --help
+
code_style_check:
docker:
- image: circleci/python:3.7.1
@@ -86,3 +116,4 @@ workflows:
jobs:
- code_style_check
- build_then_test
+ - make_a_release
