1
0
Fork 0
mirror of https://github.com/imjasonh/testscript-rs synced 2026-07-19 07:06:46 +00:00

add GHA workflow (#1)

* add GHA workflow

Signed-off-by: Jason Hall <jason@chainguard.dev>

* fix CI

Signed-off-by: Jason Hall <jason@chainguard.dev>

* update readme

Signed-off-by: Jason Hall <jason@chainguard.dev>

* add badge

Signed-off-by: Jason Hall <jason@chainguard.dev>

---------

Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
Jason Hall 2025-09-26 19:08:48 -04:00 committed by GitHub
parent fa546ce09f
commit 448cf615db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 381 additions and 156 deletions

View file

@ -2,7 +2,7 @@
use std::fs;
use tempfile::TempDir;
use testscript_rs::{run_test};
use testscript_rs::run_test;
#[test]
fn test_exists_command() {
@ -118,7 +118,10 @@ input content"#;
let result = run_test(&script_path);
// This might fail if cat isn't available - that's okay for now
if result.is_err() {
println!("Stdin test failed (cat might not be available): {:?}", result);
println!(
"Stdin test failed (cat might not be available): {:?}",
result
);
}
}
@ -172,4 +175,4 @@ hello from stdout"#;
let result = run_test(&script_path);
assert!(result.is_ok(), "CP stdout test failed: {:?}", result);
}
}