From ed19673c70e15130965d06f5307b9395e530d6b2 Mon Sep 17 00:00:00 2001 From: sandcha Date: Wed, 27 Feb 2019 19:40:48 +0100 Subject: [PATCH] Extract version check step from build step in continuous integration --- .circleci/config.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 673c70cd..f0e7fc23 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -38,6 +38,13 @@ jobs: name: Run tests command: make test + check_version: + docker: + - image: python:3.7 + + steps: + - checkout + - run: name: Check version number has been properly updated command: | @@ -79,9 +86,11 @@ workflows: build_and_deploy: jobs: - build + - check_version - deploy: requires: - build + - check_version filters: branches: only: master