Skip to content

Commit db3628c

Browse files
Fix CI
- Fix bitrot CI - Fix clippy beta - Rename our tests module by test_circuits (and the corresponding files and folders)
1 parent 3456973 commit db3628c

22 files changed

+12
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ jobs:
9797

9898
steps:
9999
- uses: actions/checkout@v3
100+
- run: sudo apt-get -y install libfontconfig1-dev
100101
# Check bitrot with stable (as we don't need benchmarks or the test-dev-graph
101102
# feature flag to work with MSRV).
102103
- uses: ./.github/actions/prepare

halo2_gadgets/src/ecc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ pub(crate) mod tests {
597597
FixedPoints,
598598
};
599599
use crate::{
600-
tests::test_utils::test_against_stored_circuit,
600+
test_circuits::test_utils::test_against_stored_circuit,
601601
utilities::lookup_range_check::{PallasLookupRangeCheck, PallasLookupRangeCheckConfig},
602602
};
603603

halo2_gadgets/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ pub mod sinsemilla;
3030
pub mod utilities;
3131

3232
#[cfg(test)]
33-
mod tests;
33+
mod test_circuits;

halo2_gadgets/src/sinsemilla.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ pub(crate) mod tests {
473473
NonIdentityPoint, ScalarFixed,
474474
},
475475
sinsemilla::primitives::{self as sinsemilla, K},
476-
tests::test_utils::test_against_stored_circuit,
476+
test_circuits::test_utils::test_against_stored_circuit,
477477
utilities::lookup_range_check::{PallasLookupRangeCheck, PallasLookupRangeCheckConfig},
478478
};
479479

halo2_gadgets/src/sinsemilla/merkle.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ where
171171
}
172172

173173
#[cfg(test)]
174+
/// Sinsemilla Merkle tree tests.
174175
pub mod tests {
175176
use super::{
176177
chip::{MerkleChip, MerkleConfig},
@@ -184,7 +185,7 @@ pub mod tests {
184185
tests::{TestCommitDomain, TestHashDomain},
185186
HashDomains,
186187
},
187-
tests::test_utils::test_against_stored_circuit,
188+
test_circuits::test_utils::test_against_stored_circuit,
188189
utilities::{
189190
i2lebsp,
190191
lookup_range_check::{PallasLookupRangeCheck, PallasLookupRangeCheckConfig},
File renamed without changes.

0 commit comments

Comments
 (0)