Skip to content

Commit b055b55

Browse files
committed
add tests to ci
1 parent 363e92f commit b055b55

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
- test_marginfi_v2
2222
- test_local_example
2323
- test_verify_from_image
24+
- test_games_preset
25+
- test_agave_2_1
2426
steps:
2527
- uses: actions/checkout@v4
2628

src/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ mod tests {
9595
#[test]
9696
fn test_agave_2_1() -> anyhow::Result<()> {
9797
const EXPECTED_HASH: &str = "29e7713aa3c48e242e2847bc031fe2a03eb61aae5ecaec8728131e16934de465";
98-
let args: Vec<&str> = " verify-from-repo https://github.com/Woody4618/verify-2-1 --program-id kGYz2q2WUYCXhKpgUF4AMR3seDA9eg8sbirP5dhbyhy --commit-hash e0f138fb58b669791c823f44f878cb3547a92a26".split(" ").collect();
98+
let args: Vec<&str> = "verify-from-repo https://github.com/Woody4618/verify-2-1 --program-id kGYz2q2WUYCXhKpgUF4AMR3seDA9eg8sbirP5dhbyhy --commit-hash e0f138fb58b669791c823f44f878cb3547a92a26".split(" ").collect();
9999
test_verify_program_hash_helper(EXPECTED_HASH, &args)?;
100100
Ok(())
101101
}

0 commit comments

Comments
 (0)