Code Monkey home page Code Monkey logo

opencoverage's Introduction

Open Coverage

Free and open alternative providing coverage reporting and diff coverage reporting.

The project can be a simple replacement for codecov or coveralls for teams working on private repos.

(some of the enterprise option pricing seemed a little unreasonable)

Features:

  • coverage reporting
  • diff coverage reporting
  • github integration: PRs, comments
  • codecov cli compatible

Requirements:

  • sqlalchemy compatible backend(pg, sqlite, mysql, et)
  • opencoverage backend
  • opencoverage frontend

SCM integrations:

  • github
  • bitbucket

Backend development

Develop:

make install-dev

Tests:

Run docker compose first:

docker-compose up
make test

Run:

make run

Configuration

To run the server yourself, you need to create a github application and install it for your organization.

All configuration is done with env variables.

  • host
  • port
  • public_url
  • dsn: connection string for backend database
  • cors: hosts frontend runs on
  • scm: enum(github)
  • github_app_id: id of app
  • github_app_pem_file: pem file for application you created
  • github_default_installation_id: id of org this app is installed on

Send report from CI

The backend is compatible with the codecov CLI.

You need to provide the installation id of your org as the --token value or dummy if you are using the github_default_installation_id setting and only using the server for a single org.

codecov --url="http://<installed-host>:8000/api" --token=<github installation id> --slug=vangheem/guillotina

opencoverage's People

Contributors

vangheem avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.