-
Notifications
You must be signed in to change notification settings - Fork 3
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
CI - PR checks #13
CI - PR checks #13
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.
Great! Thanks
done | ||
|
||
- name: test | ||
run: cargo contract test |
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.
From use-ink/cargo-contract#958, cargo contract test
is removed. Better use cargo test
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.
@HyunggyuJang This will have to be updated when this repo go to cargo contract 2.0 & ink! 4.0
But right now in cargo contract v2.0.0-rc.1 this is not removed
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.
Got it. Thanks for the clarification!
Also, cargo contract released official v2.0.0. Don't need to cling on rc. |
CI checks for all contracts inside the projects.
cargo contract check
cargo test
It is not possible to check contract build/checks at the repository root when having multiple contracts inside a project.
We need to compile them one by one by passing
--manifest-path
option.