All Projects → covergates → covergates

covergates / covergates

Licence: GPL-3.0 license
The portal gates to coverage reports

Programming Languages

go
31211 projects - #10 most used programming language
Vue
7211 projects
typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to covergates

Tarpaulin
A code coverage tool for Rust projects
Stars: ✭ 1,097 (+1894.55%)
Mutual labels:  coverage-report
Karma Coverage Istanbul Reporter
A karma reporter that uses the latest istanbul 1.x APIs to report coverage
Stars: ✭ 154 (+180%)
Mutual labels:  coverage-report
Proxmox
Proxmox Helper Scripts
Stars: ✭ 3,882 (+6958.18%)
Mutual labels:  self-hosted
Clang Blueprint
🏰 Example C++11 CMake project that incorporates awesome Clang tooling 🐉
Stars: ✭ 63 (+14.55%)
Mutual labels:  coverage-report
Typescript Coverage Report
Node command tool to generate TypeScript coverage report
Stars: ✭ 138 (+150.91%)
Mutual labels:  coverage-report
flagsmith
Open Source Feature Flagging and Remote Config Service. Host on-prem or use our hosted version at https://flagsmith.com/
Stars: ✭ 2,309 (+4098.18%)
Mutual labels:  self-hosted
Gcovr
generate code coverage reports with gcc/gcov
Stars: ✭ 482 (+776.36%)
Mutual labels:  coverage-report
eggplant
Eggplant is a self-hosted music streaming service
Stars: ✭ 35 (-36.36%)
Mutual labels:  self-hosted
Coverband
Ruby production code coverage collection and reporting (line of code usage)
Stars: ✭ 1,937 (+3421.82%)
Mutual labels:  coverage-report
laravel-analytics
Analytics for the Laravel framework.
Stars: ✭ 138 (+150.91%)
Mutual labels:  self-hosted
Unittesting
Testing Sublime Text Packages
Stars: ✭ 95 (+72.73%)
Mutual labels:  coverage-report
Bashcov
Code coverage tool for Bash
Stars: ✭ 113 (+105.45%)
Mutual labels:  coverage-report
mark-idea
一款私有云笔记,git + markdown
Stars: ✭ 182 (+230.91%)
Mutual labels:  self-hosted
Phpspec Code Coverage
Generate Code Coverage reports for PhpSpec tests
Stars: ✭ 59 (+7.27%)
Mutual labels:  coverage-report
octocov
octocov is a toolkit for collecting code metrics (code coverage, code to test ratio and test execution time).
Stars: ✭ 191 (+247.27%)
Mutual labels:  coverage-report
Gogradle
A Gradle Plugin Providing Full Support for Go
Stars: ✭ 712 (+1194.55%)
Mutual labels:  coverage-report
Codecov Python
Python report uploader for Codecov
Stars: ✭ 162 (+194.55%)
Mutual labels:  coverage-report
ambry
Self-hosted audiobook streaming server
Stars: ✭ 38 (-30.91%)
Mutual labels:  self-hosted
javascript-test-reporter
DEPRECATED Code Climate test reporter client for JavaScript projects
Stars: ✭ 68 (+23.64%)
Mutual labels:  coverage-report
vindigo
📝 A brand new kanban inspired planning tool for all your projects. 💻
Stars: ✭ 52 (-5.45%)
Mutual labels:  self-hosted

logo Covergates - Portal Gates to Coverage Reports

badge CI Go Report Card PkgGoDev License: GPL v3 CLA assistant Twitter Follow

card

Purpose

Covergates is to make the easiest way to setup a self-hosted coverage report service. It's an alternative to services, such as:

The reason why this project is because managing coverage reports for private repositories should not be hard! It is able to link with your self-hosted Git service. Use it to improve coding review and quality management flow for your internal projects. Want to try? Visit covergates.com before you starting.

Using

To get started, please download prebuilt binary covergates-version-platform-architecture.zip and try:

unzip covergates-<version>-<platform>-<architecture>.zip
./covergates-server

Visit http://localhost:8080 for your covergates service.

To upload report, run covergate cli:

export API_URL=http://localhost:8080/api/v1
covergates upload -report <report id> -type go coverage.out

Configure

covergates-server uses environment variables to change configurations. Below is the list of variables for basic configuration:

  • GATES_SERVER_ADDR Default http://localhost:8080
  • GATES_SERVER_BASE Default /
  • GATES_DB_DRIVER Default sqlite3. Other options are postgres and cloudrun
  • GATES_DB_HOST Required host for postgres and cloudrun
  • GATES_DB_PORT Required port for postgres and cloudrun
  • GATES_DB_USER Required user forpostgres and cloudrun
  • GATES_DB_NAME Required database name for postgres and cloudrun
  • GATES_DB_PASSWORD Required password for postgres and cloudrun
  • GATES_GITEA_SERVER Default https://try.gitea.io/, gitea server address
  • GATES_GITEA_CLIENT_ID Required for Gitea OAuth login
  • GATES_GITEA_CLIENT_SECRET Required for Gitea OAuth login
  • GATES_GITHUB_SERVER Default https://github.com
  • GATES_GITHUB_API_SERVER Default https://api.github.com
  • GATES_GITHUB_CLIENT_ID Required for GitHub OAuth login
  • GATES_GITHUB_CLIENT_SECRET Required for GitHub OAuth login

Supported SCM and Language

SCM Supported
GitHub ✔️
Gitea ✔️
GitLab ✔️
Gogs
Bitbucket
Language Supported Tutorial
Go ✔️ go-example
Perl ✔️ 🔧, ongoing
Python ✔️ 🔧, ongoing
Ruby (SimpleCov: RSpec) ✔️
lcov (C, C++, Javascript) ✔️
Clover (PHP) ✔️
Java (Jacoco) 🔧, ongoing

Covergates is at an early development stage. Other languages and SCM support is ongoing! If you would like to assist with development, please refer to Contributing Section.

Development

The build is split into backend, cli and frontend. To build backend, run:

go build -o covergates-server ./cmd/server

To build CLI, run:

export SERVER_API_URL=http://localhost:8080/api/v1
go build -o covergates -ldflags="-X main.CoverGatesAPI=$SERVER_API_URL" ./cmd/cli

You may change SERVER_API_URL to your self-hosted covergates-server address.

If your are behind firewall or proxy, you may also download source package with vendor modules from covergates.version.src.zip . To build with vendor modules, run:

go build -o covergates-server -mod vendor ./cmd/server

To build frontend, it requires:

  1. Node.js v12
  2. togo

Read web/README.md for more details.

Contributing

It would be highly appreciated if you could contribute to the project. There are many ways in which you can participate in the project:

  1. Contributing directly to the code base

    The expected workflow is GitHub flow. Read CONTRIBUTING.md before getting start.

  2. Submit feature requests and bugs

    Especially for the new language support. It would be great if you could provide coverage report examples and how to produce coverage for other languages.

  3. Testing, both unit testing and e2e testing are welcome.

Further Information

For more information and tutorial about self-hosted Covergates server, please refer to our documentation

Milestones

Refer to TODO.md for details.

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for the full license text.

Screenshots

report

files

setting

pull request

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].