Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: convert cli tests to md #2735

Closed
wants to merge 6 commits into from
Closed

chore: convert cli tests to md #2735

wants to merge 6 commits into from

Conversation

ssddOnTop
Copy link
Member

related to: #2646

Description: This PR converts cli tests to md based tests. This will help to set predefined instructions and add mocks. (for example, setting Env variables).

(ext of #2657)

@github-actions github-actions bot added the type: chore Routine tasks like conversions, reorganization, and maintenance work. label Aug 18, 2024
Copy link

codecov bot commented Aug 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.82%. Comparing base (5faf008) to head (da4cf72).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2735      +/-   ##
==========================================
+ Coverage   86.46%   86.82%   +0.35%     
==========================================
  Files         255      255              
  Lines       24963    24963              
==========================================
+ Hits        21584    21673      +89     
+ Misses       3379     3290      -89     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -25,6 +25,8 @@ pub struct Config<Status = UnResolved> {
#[serde(skip_serializing_if = "Option::is_none")]
pub preset: Option<PresetConfig>,
pub schema: Schema,
#[serde(default, skip_serializing_if = "TemplateString::is_empty")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unnecessary changes.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

existing tests don't even work rn.. the config in tests is either outdated or we need to add the default tag on secret

@ssddOnTop
Copy link
Member Author

closing in favor of #2755

@ssddOnTop ssddOnTop closed this Aug 26, 2024
@ssddOnTop ssddOnTop deleted the chore/gen-to-md branch August 26, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: chore Routine tasks like conversions, reorganization, and maintenance work.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants