re orgnise jobs
#
version: 2
jobs:
- make_a_release:
+ build-release:
docker:
- image: circleci/python:3.7.1
working_directory: ~/repo
@@ -34,7 +34,7 @@ jobs:
. venv/bin/activate
poetry --help
- code_style_check:
+ style-check:
docker:
- image: circleci/python:3.7.1
working_directory: ~/repo
@@ -65,7 +65,7 @@ jobs:
black --check
- build_then_test:
+ unittest:
docker:
# specify the version you desire here
# use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers`
@@ -114,6 +114,9 @@ workflows:
version: 2
unittest:
jobs:
- - code_style_check
- - build_then_test
- - make_a_release
+ - style-check
+ - unittest
+ - build-release
+ requires:
+ - style-check
+ - unittest
