Skip to content

Commit

Permalink
Extract version check step from build step in continuous integration
Browse files Browse the repository at this point in the history
  • Loading branch information
sandcha committed Feb 27, 2019
1 parent c18a178 commit ed19673
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -79,9 +86,11 @@ workflows:
build_and_deploy:
jobs:
- build
- check_version
- deploy:
requires:
- build
- check_version
filters:
branches:
only: master

0 comments on commit ed19673

Please sign in to comment.