Skip to content

Commit

Permalink
Decrease memory usage in ARMv7 CI
Browse files Browse the repository at this point in the history
Our GitHub Actions CI was failing because the ARMv7 systems use QEMU
which consumes more memory than usual, by decreasing the memory usage,
we expect to make it all work again.
  • Loading branch information
marcospb19 committed Nov 28, 2023
1 parent 5b11f9c commit f3db923
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,11 @@ fn single_empty_file(ext: Extension, #[any(size_range(0..8).lift())] exts: Vec<F
fn single_file(
ext: Extension,
#[any(size_range(0..8).lift())] exts: Vec<FileExtension>,
#[strategy(proptest::option::of(0i16..12))] level: Option<i16>,
#[cfg_attr(not(target_arch = "arm"), strategy(proptest::option::of(0i16..12)))]
// Decrease the value of --level flag for `arm` systems, because our GitHub
// Actions CI runs QEMU which makes the memory consumption higher.
#[cfg_attr(target_arch = "arm", strategy(proptest::option::of(0i16..8)))]
level: Option<i16>,
) {
let dir = tempdir().unwrap();
let dir = dir.path();
Expand Down

0 comments on commit f3db923

Please sign in to comment.