Skip to content

Commit

Permalink
Enable borsh tests on github actions (#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
paupino committed Mar 27, 2022
1 parent 7a95035 commit 2b582d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ dependencies = [
"test-db",
"test-rocket-traits",
"test-serde",
"test-macros",
"test-borsh"
"test-macros"
]

[tasks.test-db]
Expand Down Expand Up @@ -175,6 +174,12 @@ command = "cargo"
args = ["test", "--workspace", "--no-default-features", "--features=maths-nopanic", "maths", "--", "--skip", "generated"]

[tasks.test-misc]
dependencies = [
"test-rust-fuzz",
"test-borsh"
]

[tasks.test-rust-fuzz]
command = "cargo"
args = ["test", "--workspace", "--no-default-features", "--features=rust-fuzz", "rust_fuzz", "--", "--skip", "generated"]

Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fn prepare(readme: &str) -> String {
if !feature_section && line.starts_with("## Features") {
feature_section = true;
} else if feature_section && line.starts_with("### ") {
feature = line.replace("### ", "").replace("`", "");
feature = line.replace("### ", "").replace('`', "");
}
cleaned.push_str(line);
}
Expand Down

0 comments on commit 2b582d6

Please sign in to comment.