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
561 stars 104 forks source link

Feature/add repo and create formula mult template #1037

Closed kelsoncarmozinezup closed 2 years ago

kelsoncarmozinezup commented 2 years ago

Description

Unifying pull requests to solve test problems https://github.com/ZupIT/ritchie-cli/pull/1035 https://github.com/ZupIT/ritchie-cli/pull/1036

Changelog


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 Thu Sep 23 2021 13:59:40 GMT+0000 (Coordinated Universal Time)

codecov-commenter commented 2 years ago

Codecov Report

Merging #1037 (9a3a7e9) into v3 (6897d8e) will decrease coverage by 0.86%. The diff coverage is 39.77%.

Impacted file tree graph

@@            Coverage Diff             @@
##               v3    #1037      +/-   ##
==========================================
- Coverage   84.10%   83.24%   -0.87%     
==========================================
  Files         123      123              
  Lines        4982     5042      +60     
==========================================
+ Hits         4190     4197       +7     
- Misses        518      565      +47     
- Partials      274      280       +6     
Flag Coverage Δ
unittests 83.24% <39.77%> (-0.87%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/cmd/init.go 90.90% <ø> (ø)
pkg/formula/runner/config_runner.go 39.39% <0.00%> (-47.28%) :arrow_down:
pkg/formula/repo/adder.go 66.25% <21.87%> (-29.67%) :arrow_down:
pkg/formula/creator/creator.go 58.90% <60.00%> (ø)
pkg/cmd/create_formula.go 85.42% <65.21%> (-2.65%) :arrow_down:
pkg/formula/formula.go 76.47% <100.00%> (+1.47%) :arrow_up:
pkg/formula/runner/docker/pre_run.go 63.33% <100.00%> (-2.83%) :arrow_down:
pkg/formula/runner/local/pre_run.go 92.98% <100.00%> (-1.05%) :arrow_down:
pkg/formula/tree/generator.go 78.78% <100.00%> (+1.36%) :arrow_up:
pkg/cmd/root.go 74.79% <0.00%> (-1.04%) :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 e8a35ef...9a3a7e9. Read the comment docs.

GuillaumeFalourd commented 2 years ago

Just a message to inform that we decided to approve this PR despite the unit tests erros because we plan to remove the features related to those unit tests, as they are deprecated.