ZcashFoundation / frost

Rust implementation of FROST (Flexible Round-Optimised Schnorr Threshold signatures) by the Zcash Foundation
https://frost.zfnd.org
Other
133 stars 50 forks source link

build and test each crate separately #689

Closed conradoplg closed 2 months ago

conradoplg commented 2 months ago

cargo test -p frost-core was failing because the benchmark was failing to build, which in turn was being caused by the criterion dependency not being included when compiling without features.

This was not being caught because on CI we just use cargo test, which merges all features and would end up including criterion.

This was also not being caught by the all-features test because we were only doing build (which does not build benchmarks) and not test (which does build benchmarks).

This fixes the issue, and adds test-all-features to CI, which already works on each crate separately.