diff --git a/.circleci/config.yml b/.circleci/config.yml index 66ba09614..ac6546a9a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -57,6 +57,7 @@ jobs: command: | . venv/bin/activate tox + coveralls - store_artifacts: path: test-reports destination: test-reports @@ -80,7 +81,7 @@ jobs: gcloud --quiet config set compute/zone ${GOOGLE_COMPUTE_ZONE} - run: name: Deploy to gcloud - command: gcloud beta compute instance-groups managed rolling-action replace mrm-backend-instance-group --max-unavailable=2 --min-ready=280 --zone=europe-west1-b + command: gcloud beta compute instance-groups managed rolling-action replace mrm-backend-instance-group --max-unavailable=1 --min-ready=280 --zone=europe-west1-b workflows: version: 2 diff --git a/Readme.md b/Readme.md index 73d841f6c..f3b9d137a 100644 --- a/Readme.md +++ b/Readme.md @@ -1,4 +1,5 @@ -## Product overview +[![Coverage Status](https://coveralls.io/repos/github/andela/mrm_api/badge.svg)](https://coveralls.io/github/andela/mrm_api) +## Product overview The MRM-api is the backbone of a tool to facilitate room management. It enables capturing of feedback based on room usage and analyse usage statistics.The MRM-api provides capability to register rooms and give feedback. ## Development set up @@ -57,7 +58,7 @@ ``` coverage report - ``` + ``` - To obtain html browser report. Run command below: ``` coverage html @@ -69,7 +70,7 @@ -## Built with +## Built with - Python version 3 - Flask - Grapghql @@ -82,7 +83,7 @@ When contributing to this repository, please first discuss the change you wish t ##### Pull Request Process - A contributor shall identify a task to be done from the [pivotal tracker](https://www.pivotaltracker.com/n/projects/2154921).If there is a bug , feature or chore that has not be included among the tasks, the contributor can add it only after consulting the owner of this repository and the task being accepted. - The Contributor shall then create a branch off the ` develop` branch where they are expected to undertake the task they have chosen. -- After undertaking the task, a fully detailed pull request shall be submitted to the owners of this repository for review. +- After undertaking the task, a fully detailed pull request shall be submitted to the owners of this repository for review. - If there any changes requested ,it is expected that these changes shall be effected and the pull request resubmitted for review.Once all the changes are accepted, the pull request shall be closed and the changes merged into `develop` by the owners of this repository. diff --git a/requirements.txt b/requirements.txt index c0ae0233b..13fdc10bc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18,4 +18,5 @@ tox==3.0.0 SQLAlchemy-Utils==0.33.2 virtualenv==15.2.0 Flask-Testing==0.7.1 -typing==3.6.4 \ No newline at end of file +typing==3.6.4 +coveralls