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

fix: actually run all unit tests in CI #6989

Merged
merged 1 commit into from
Feb 1, 2024
Merged

Conversation

DaniPopes
Copy link
Member

oops

crates/cast/bin/cmd/call.rs Show resolved Hide resolved
@@ -505,6 +505,7 @@ mod tests {
use tempfile::tempdir;

#[test]
#[ignore = "slow"]
Copy link
Member Author

Choose a reason for hiding this comment

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

I don't really want these tests in unit tests, same for some that call providers or fork.

);
let sig = "0x522bb704000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfFFb92266";
let args = ScriptArgs::parse_from(["foundry-cli", "Contract.sol", "--sig", sig]);
assert_eq!(args.sig, sig);
Copy link
Member Author

Choose a reason for hiding this comment

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

Prefix again

@@ -512,7 +512,7 @@ mod tests {
&config,
)
.unwrap();
assert_eq!(client.etherscan_api_url().as_str(), "https://api-testnet.polygonscan.com/?/");
assert_eq!(client.etherscan_api_url().as_str(), "https://api-testnet.polygonscan.com/");
Copy link
Member Author

Choose a reason for hiding this comment

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

Don't know what this is about

Copy link
Member

Choose a reason for hiding this comment

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

this is outdated/no longer required, there were some cloudflare bugs with trailing /

@DaniPopes DaniPopes merged commit 996c643 into master Feb 1, 2024
19 checks passed
@DaniPopes DaniPopes deleted the dani/ci-binary-tests branch February 1, 2024 22:44
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