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

CI - PR checks #13

Merged
merged 9 commits into from
Feb 20, 2023
Merged

CI - PR checks #13

merged 9 commits into from
Feb 20, 2023

Conversation

shunsukew
Copy link
Collaborator

@shunsukew shunsukew commented Feb 16, 2023

CI checks for all contracts inside the projects.

  • Compile checks by cargo contract check
  • Tests by 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.

@shunsukew shunsukew changed the title Ci/pr checks CI - PR checks Feb 16, 2023
Copy link
Contributor

@PierreOssun PierreOssun left a comment

Choose a reason for hiding this comment

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

Great! Thanks

@shunsukew shunsukew merged commit 208b0a2 into main Feb 20, 2023
done

- name: test
run: cargo contract test
Copy link
Collaborator

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

Copy link
Contributor

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

Copy link
Collaborator

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!

@HyunggyuJang
Copy link
Collaborator

Also, cargo contract released official v2.0.0. Don't need to cling on rc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants