ZupIT / ritchie-cli

Ritchie CLI is an open-source tool that allows to create, store and share any kind of automation, executing them through command lines, to run operations or start workflows ⚙️ 🖥 💡
https://docs.ritchiecli.io
Apache License 2.0
559 stars 104 forks source link

metrics - functional tests #988

Closed maurineimirandazup closed 3 years ago

maurineimirandazup commented 3 years ago

Signed-off-by: maurineimirandazup maurinei.miranda@zup.com.br

Description

Functional testing workflow for the metrics command.

How to verify it

Push or Pull from the metrics.go and metrics_test.go files result in the workflow running.

Changelog

In this version, the execution flow is tested with the --metrics="yes" parameters


This pull request generated the following artifacts.

To test the health and quality of this implementation, download the respective binary for your operating system, unzip and directly run the binary like the examples below.

Generated at Mon Jul 05 2021 17:49:50 GMT+0000 (Coordinated Universal Time)

codecov-commenter commented 3 years ago

Codecov Report

Merging #988 (5aa0082) into master (2672439) will increase coverage by 0.01%. The diff coverage is 92.30%.

:exclamation: Current head 5aa0082 differs from pull request most recent head a593ec7. Consider uploading reports for the commit a593ec7 to get more accurate results Impacted file tree graph

@@            Coverage Diff             @@
##           master     #988      +/-   ##
==========================================
+ Coverage   84.63%   84.64%   +0.01%     
==========================================
  Files         123      123              
  Lines        4907     4925      +18     
==========================================
+ Hits         4153     4169      +16     
- Misses        485      486       +1     
- Partials      269      270       +1     
Impacted Files Coverage Δ
pkg/cmd/metrics.go 95.34% <92.30%> (-4.66%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2672439...a593ec7. Read the comment docs.