Skip to content
award

GitHub Action

Qodana Scan Badge

0.5.0 Latest version

Qodana Scan Badge

award

Qodana Scan Badge

Automatically generate quality and coverage badges for your repository

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Qodana Scan Badge

uses: joaofouyer/[email protected]

Learn more about this action in joaofouyer/qodana-action-badge

Choose a version

Link to Qodana Report

Qodana Scan Badge

This action creates coverage and code quality badges from a Qodana Scan Action output and updates your README.

Inputs

generate-coverage

Not required Generate Test Coverage Badge. Default "false".

generate-quality

Not required Generate Code Quality Badge. Default "false".

generate-qodana-button

Not required Generate a button to Qodana Report with link. Default "false".

Example usage

uses: joaofouyer/[email protected]
with:
  generate-coverage: true
  generate-quality: true
  generate-qodana-button: true

Future Work

This version automatically updates your README file so you can use this action out of the box. But in some cases, you might not want this behaviour.

So another approach is to generate a .svg file and saves it in the repository in a specified path and you can set it manually in the README.