Skip to content

Cannot find binary during cargo test in CI #131

@joepio

Description

@joepio

Hi there! Thanks for creating this. The cargo_bin command works great locally, but when I run this in my CI on github actions, it seems like the binary in target/debug/appname cannot be found.

thread 'test::get_fail' panicked at 'called `Result::unwrap()` on an `Err` value: CargoError { cause: Some(NotFoundError { path: "/home/runner/work/atomic-data-rust/atomic-data-rust/target/debug/atomic-cli" }) }', cli/src/main.rs:330:69

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions