Skip to main content

Utility (server) to check coverage for the last commit / pull request while running tests on CI.

Project description

https://badge.fury.io/py/cover-rage-server.svg https://circleci.com/gh/alexryabtsev/cover_rage_server/tree/master.svg?style=shield https://cover-rage.doomatel.com/api/badge/ZV2EKP1xsZRHDtMA0XVevw/

Server for Cover Rage.

  1. Handle checks of test coverage for the last commit / pull request initiated by web-hook on Github / Bitbucket and you CI-server.

  2. Keeps your overall coverage percentage for badge.

All settings should be defined in environment variables. Available settings are:

  • RAGE_SRV_REDIS_HOST - Redis host

  • RAGE_SRV_REDIS_PORT - Redis port

  • RAGE_SRV_REDIS_DB - Redis database

  • RAGE_SRV_SCHEME - http or https

  • RAGE_SRV_HOST - domain name of your Cover Rage server

  • RAGE_SRV_MIN_GOOD_COVERAGE_PERCENTAGE - min good coverage percentage for badge

To add a project you should run run_cli console script:

./rage_cli.py gh|bb <account> <repo> <access token>

where:

  • gh is Github, bb is Bitbucket,

  • account is your account name on Github / Bitbucket

  • repo is your repo name on Github / Bitbucket

  • access token is an API access token from Github / Bitbucket

This command will create a web-hook on Github / Bitbucket and generate you public and private Cover Rage tokens. Use them when you’ll configuring your CI-server.

To run server inside Docker container you can use this command:

docker-compose –file docker-compose.yml –project-name cover_rage_server up

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cover-rage-server-0.0.7.tar.gz (11.7 kB view details)

Uploaded Source

File details

Details for the file cover-rage-server-0.0.7.tar.gz.

File metadata

File hashes

Hashes for cover-rage-server-0.0.7.tar.gz
Algorithm Hash digest
SHA256 89bea0cc60a23913e65cb0f2c80e95e695c4de9369533024621ab8174411b7ef
MD5 2810a901a4df44c2151d0bac3130bff8
BLAKE2b-256 65ac6eb811152d974c4fd46a3fb61eeb24e59610f81c6d7f6a2c779623d553d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page