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

Refactor doc test and justfile #2330

Merged
merged 4 commits into from
Sep 25, 2023
Merged

Conversation

yihuaf
Copy link
Collaborator

@yihuaf yihuaf commented Aug 30, 2023

  • Separated doc test into a separated justfile recipe
  • Refactor the name of the test related to recipe to follow the same pattern of test-*.

Signed-off-by: yihuaf <yihuaf@unkies.org>
Signed-off-by: yihuaf <yihuaf@unkies.org>
Signed-off-by: yihuaf <yihuaf@unkies.org>
@yihuaf yihuaf added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Aug 30, 2023
@yihuaf yihuaf self-assigned this Aug 30, 2023
@yihuaf yihuaf requested review from utam0k, YJDoc2 and a team August 30, 2023 17:10
Copy link
Collaborator

@YJDoc2 YJDoc2 left a comment

Choose a reason for hiding this comment

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

overall fine, some nits

justfile Outdated
Comment on lines 93 to 99
clean-test-kind:
test-kind-clean:
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this should be clean-test-kind as this is not a test, but a cleanup script instead.

justfile Outdated
Comment on lines 41 to 42
test-unit:
cargo test --lib --bins --all --all-targets --all-features
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we not need the LD_LIBRARY_PATH ?

@YJDoc2
Copy link
Collaborator

YJDoc2 commented Sep 25, 2023

@yihuaf , if you're busy with something else, just reply to the above comments, and I can push a commit that makes changes accordingly and merge 👍

@yihuaf
Copy link
Collaborator Author

yihuaf commented Sep 25, 2023 via email

@YJDoc2
Copy link
Collaborator

YJDoc2 commented Sep 25, 2023

Please go ahead. Thanks!

Sure, no worries!

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
@codecov-commenter
Copy link

Codecov Report

Merging #2330 (28586ed) into main (0036180) will increase coverage by 0.02%.
Report is 95 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2330      +/-   ##
==========================================
+ Coverage   64.81%   64.83%   +0.02%     
==========================================
  Files         129      129              
  Lines       15171    15201      +30     
==========================================
+ Hits         9833     9856      +23     
- Misses       5338     5345       +7     

@YJDoc2 YJDoc2 merged commit ee856d2 into youki-dev:main Sep 25, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants