Skip to content

Commit

Permalink
#157895403 integrate Coveralls (#29)
Browse files Browse the repository at this point in the history
*  [#157895403] Integrate Coveralls

- Allow for coveralls coverage reporting to github

*  [#157895403] Integrate Coveralls

- Place ReadMe Badge
  • Loading branch information
fidelisojeah authored and Shem Ogumbe committed May 28, 2018
1 parent 8ae3eae commit aaf5c85
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
command: |
. venv/bin/activate
tox
coveralls
- store_artifacts:
path: test-reports
destination: test-reports
Expand All @@ -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
Expand Down
9 changes: 5 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -57,7 +58,7 @@

```
coverage report
```
```
- To obtain html browser report. Run command below:
```
coverage html
Expand All @@ -69,7 +70,7 @@



## Built with
## Built with
- Python version 3
- Flask
- Grapghql
Expand All @@ -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.


Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
typing==3.6.4
coveralls

0 comments on commit aaf5c85

Please sign in to comment.