Skip to content

Latest commit

 

History

History
71 lines (48 loc) · 1.91 KB

README.md

File metadata and controls

71 lines (48 loc) · 1.91 KB

Vedro GitLab Reporter

Codecov PyPI PyPI - Downloads Python Version

GitLab (>=12.0) reporter with collapsable sections for Vedro framework

Installation

Quick

For a quick installation, you can use a plugin manager as follows:

$ vedro plugin install vedro-gitlab-reporter

Manual

To install manually, follow these steps:

  1. Install the package using pip:
$ pip3 install vedro-gitlab-reporter
  1. Next, activate the plugin in your vedro.cfg.py configuration file:
# ./vedro.cfg.py
import vedro
import vedro_gitlab_reporter

class Config(vedro.Config):

    class Plugins(vedro.Config.Plugins):

        class GitlabReporter(vedro_gitlab_reporter.GitlabReporter):
            enabled = True

Usage

Run tests

$ vedro run -r gitlab --gitlab-collapsable steps

Documentation

--gitlab-collapsable=<mode>

Mode Description
steps Show exception and collapsable steps
vars Show exception, steps and collapsable variables
scope Show exception, steps and collapsable scope