Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build and test each crate separately #689

Merged
merged 2 commits into from
Jun 20, 2024
Merged

build and test each crate separately #689

merged 2 commits into from
Jun 20, 2024

Conversation

conradoplg
Copy link
Contributor

@conradoplg conradoplg commented Jun 19, 2024

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.

@conradoplg conradoplg marked this pull request as ready for review June 19, 2024 22:44
Copy link
Contributor

@natalieesk natalieesk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

mergify bot added a commit that referenced this pull request Jun 20, 2024
@mergify mergify bot merged commit 8ce1522 into main Jun 20, 2024
15 checks passed
@mergify mergify bot deleted the test-each-crate branch June 20, 2024 13:34
natalieesk pushed a commit that referenced this pull request Jun 27, 2024
* build and test each crate separately

* frost-core: fix benchmark compilation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants