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:
parent
e27dcf498e
commit
ea7c608f45
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue