mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2024-11-23 07:33:01 +01:00
with actual test
This commit is contained in:
parent
d1cce6c4c5
commit
838ff3fbe6
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user