-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add cargo test CI workflow #27
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall, just left some nit-picky comments 👍
src/xdr/xdr_codec.rs
Outdated
#[cfg_attr(feature = "all-types", doc = "```")] | ||
#[cfg_attr(not(feature = "all-types"), doc = "```ignore")] | ||
/// use substrate_stellar_sdk::{types::Auth, parse_stellar_type}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add a comment here on why this is necessary? Maybe we can add the explanation as a a simple comment //
here instead of a doc comment without breaking the rest?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you check the generated docs whether the lines
/// // For this test, we require the usage of `Auth` which is only compiled with
/// // the `all-types` feature.
/// // We will ignore the test if the feature is not enabled.
are ignored? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be ready for merge then
Issue: #14
Changes
all-types
.test
andbuild
with all features enabled.