Remove parameters download step from github CI

Now that the tests use the bundled prover, we no longer need them to
download the zcash parameters files.
This commit is contained in:
Kris Nuttycombe 2023-10-11 14:39:42 -06:00
parent e27dcf498e
commit ea7c608f45
1 changed files with 0 additions and 30 deletions

View File

@ -12,21 +12,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Fetch path to Zcash parameters
working-directory: ./zcash_proofs
shell: bash
run: echo "ZCASH_PARAMS=$(cargo run --release --example get-params-path --features directories)" >> $GITHUB_ENV
- name: Cache Zcash parameters
id: cache-params
uses: actions/cache@v3.3.2
with:
path: ${{ env.ZCASH_PARAMS }}
key: ${{ runner.os }}-params
- name: Fetch Zcash parameters
if: steps.cache-params.outputs.cache-hit != 'true'
working-directory: ./zcash_proofs
run: cargo run --release --example download-params --features download-params
- name: Run tests
run: cargo test --all-features --verbose --release --all
- name: Run slow tests
@ -121,21 +106,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Fetch path to Zcash parameters
working-directory: ./zcash_proofs
shell: bash
run: echo "ZCASH_PARAMS=$(cargo run --release --example get-params-path --features directories)" >> $GITHUB_ENV
- name: Cache Zcash parameters
id: cache-params
uses: actions/cache@v3.3.2
with:
path: ${{ env.ZCASH_PARAMS }}
key: ${{ runner.os }}-params
- name: Fetch Zcash parameters
if: steps.cache-params.outputs.cache-hit != 'true'
working-directory: ./zcash_proofs
run: cargo run --release --example download-params --features download-params
- name: Generate coverage report
run: cargo tarpaulin --engine llvm --all-features --release --timeout 600 --out xml
- name: Upload coverage to Codecov