GitLab (>=12.0) reporter with collapsable sections for Vedro framework
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:
- Install the package using pip:
$ pip3 install vedro-gitlab-reporter
- 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
$ vedro run -r gitlab --gitlab-collapsable steps
--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 |