Inversed-Tech / eyelid

Private iris matching
Apache License 2.0
0 stars 0 forks source link

Move CI checks into a shell script, and call it from CI #45

Open teor2345 opened 3 months ago

teor2345 commented 3 months ago

We want to be able to do the same checks as CI on our local machines.

The easiest way to make sure they are consistent is to run them both from the same script.

Tasks:

teor2345 commented 3 months ago

In the meantime, developers can use:

cargo clippy --all-features &&
cargo test --all-features &&
cargo bench --features benchmark &&
cargo doc --no-deps --all-features --document-private-items

You can replace && with ; if you want to run all the commands and see all the errors (even if there are errors in the first command). The command order isn't important, you can use whatever order you prefer.