with actual test

This commit is contained in:
Kasper Juul Hermansen 2023-02-18 01:11:41 +01:00
parent d1cce6c4c5
commit 838ff3fbe6
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -113,7 +113,7 @@ fn select_base_image(client: Arc<Query>) -> Container {
} }
fn validate_pr(_client: Arc<Query>, container: Container) -> eyre::Result<()> { fn validate_pr(_client: Arc<Query>, container: Container) -> eyre::Result<()> {
container.with_exec(vec!["cargo".into(), "test".into(), "--all".into()], None); let container = container.with_exec(vec!["cargo".into(), "test".into(), "--all".into()], None);
let exit = container.exit_code(); let exit = container.exit_code();
if exit != 0 { if exit != 0 {