From 2a08c5360baccbe6fb2ad560542f0561553d714c Mon Sep 17 00:00:00 2001 From: Volker Mische Date: Thu, 29 Aug 2024 00:38:05 +0200 Subject: [PATCH] chore: run tests in release mode --- .github/workflows/ci.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c245bc3e1..3f4ab8717 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,8 +99,8 @@ jobs: #- uses: dtolnay/rust-toolchain@master # with: # toolchain: ${{needs.set-msrv.outputs.msrv}} - #- name: Install required packages - # run: sudo apt install --no-install-recommends --yes ocl-icd-opencl-dev libhwloc-dev + - name: Install required packages + run: sudo apt install --no-install-recommends --yes ocl-icd-opencl-dev libhwloc-dev @@ -191,13 +191,11 @@ jobs: run: ls -al /var/tmp/filecoin-proof-parameters/ - - #- name: Test in release profile - # #if: steps.cache-parameters-2048.outputs.cache-hit == 'true' && steps.cache-parameters-4096.outputs.cache-hit == 'true' - # run: cargo test --verbose --release --workspace --all-targets - # ## Some `storage-proofs-update` tests need to run sequentially due - # ## to their high memory usage. - # #cargo test -p storage-proofs-update --features isolated-testing --release << parameters.cargo-args >> -- --test-threads=1 + - name: Test in release profile + run: cargo test --verbose --release --workspace --all-targets + ## Some `storage-proofs-update` tests need to run sequentially due + ## to their high memory usage. + #cargo test -p storage-proofs-update --features isolated-testing --release << parameters.cargo-args >> -- --test-threads=1