Skip to content

Commit

Permalink
chore: disable test_release for now
Browse files Browse the repository at this point in the history
It seems to work. There's no need to re-run it again while testing out
other things.
  • Loading branch information
vmx committed Sep 3, 2024
1 parent d1fbd90 commit 1234f35
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,33 +55,33 @@ jobs:
# - name: Run cargo fmt
# run: cargo fmt --all -- --check

test_release:
runs-on: ubuntu-latest
name: Test in release mode
strategy:
matrix:
cargo-args: ['', '--features fixed-rows-to-discard']
env:
# Run all tests with multicore-SDR enabled.
FIL_PROOFS_USE_MULTICORE_SDR: true
steps:
- uses: actions/checkout@v4
- name: Install required packages
run: sudo apt install --no-install-recommends --yes ocl-icd-opencl-dev libhwloc-dev

- name: Download the proof params
uses: ./.github/actions/proof-params-download
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Test in release profile
run: |
cargo test --verbose --release --workspace --all-targets ${{ matrix.cargo-args }}
#cargo test --release -p storage-proofs-porep --features isolated-testing ${{ matrix.cargo-args }} -- --test-threads=1
cargo test --release -p storage-proofs-porep --features isolated-testing ${{ matrix.cargo-args }}
# Some `storage-proofs-update` tests need to run sequentially due to
# their high memory usage.
cargo test --release -p storage-proofs-update --features isolated-testing ${{ matrix.cargo-args }} -- --test-threads=1
#test_release:
# runs-on: ubuntu-latest
# name: Test in release mode
# strategy:
# matrix:
# cargo-args: ['', '--features fixed-rows-to-discard']
# env:
# # Run all tests with multicore-SDR enabled.
# FIL_PROOFS_USE_MULTICORE_SDR: true
# steps:
# - uses: actions/checkout@v4
# - name: Install required packages
# run: sudo apt install --no-install-recommends --yes ocl-icd-opencl-dev libhwloc-dev
#
# - name: Download the proof params
# uses: ./.github/actions/proof-params-download
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
#
# - name: Test in release profile
# run: |
# cargo test --verbose --release --workspace --all-targets ${{ matrix.cargo-args }}
# #cargo test --release -p storage-proofs-porep --features isolated-testing ${{ matrix.cargo-args }} -- --test-threads=1
# cargo test --release -p storage-proofs-porep --features isolated-testing ${{ matrix.cargo-args }}
# # Some `storage-proofs-update` tests need to run sequentially due to
# # their high memory usage.
# cargo test --release -p storage-proofs-update --features isolated-testing ${{ matrix.cargo-args }} -- --test-threads=1

#test_ignored_release:
# runs-on: ubuntu-latest
Expand Down

0 comments on commit 1234f35

Please sign in to comment.