From 86aeed6a09cb943f25f7ae209d37be55925a73da Mon Sep 17 00:00:00 2001 From: Andreas Longva Date: Tue, 26 Jan 2021 10:03:39 +0100 Subject: [PATCH] Test nalgebra-sparse in CI --- .circleci/config.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6d293d37..e5be1145 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -61,6 +61,15 @@ jobs: - run: name: test nalgebra-glm command: cargo test -p nalgebra-glm --features arbitrary --features serde-serialize --features abomonation-serialize --features sparse --features debug --features io --features compare --features libm --features slow-tests + - run: + name: test nalgebra-sparse + # Manifest-path is necessary because cargo otherwise won't correctly forward features + # We increase number of proptest cases to hopefully catch more potential bugs + command: PROPTEST_CASES=10000 cargo test --manifest-path=nalgebra-sparse/Cargo.toml --features compare,proptest-support + - run: + name: test nalgebra-sparse (slow tests) + # Unfortunately, the "slow-tests" take so much time that we need to run them with --release + command: PROPTEST_CASES=10000 cargo test --release --manifest-path=nalgebra-sparse/Cargo.toml --features compare,proptest-support,slow-tests slow build-wasm: executor: rust-executor steps: