Skip to content

Commit

Permalink
Merge branch 'fraccaman/ci-triggerable-integration-2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Gianmarco Fraccaroli authored and Gianmarco Fraccaroli committed May 3, 2024
2 parents 9d588e7 + d63888a commit f382bfc
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Rerun Integration Tests
name: Rerun Test Command

on:
workflow_dispatch:
Expand All @@ -7,7 +7,10 @@ on:
description: 'The commit to test'
required: true
type: string

command:
description: 'The make command to run'
required: true
type: string

env:
RUSTC_WRAPPER: sccache
Expand All @@ -25,7 +28,7 @@ jobs:
test:
runs-on:
group: namada-runners
labels: ubuntu-22-big
labels: ubuntu-22
timeout-minutes: 30
strategy:
fail-fast: false
Expand Down Expand Up @@ -86,13 +89,10 @@ jobs:
curl -o /home/runner/.masp-params/masp-spend.params -L https://github.com/anoma/masp-mpc/releases/download/namada-trusted-setup/masp-spend.params\?raw\=true
curl -o /home/runner/.masp-params/masp-output.params -L https://github.com/anoma/masp-mpc/releases/download/namada-trusted-setup/masp-output.params?raw=true
curl -o /home/runner/.masp-params/masp-convert.params -L https://github.com/anoma/masp-mpc/releases/download/namada-trusted-setup/masp-convert.params?raw=true
- name: Download wasm artifacts
uses: actions/download-artifact@v3
with:
name: wasm-${{ inputs.commit_sha }}
path: ./wasm
- name: Run integration tests
run: make test-integration
- name: Build wasm
run: make build-wasm-scripts
- name: Run command ${{ inputs.command }}
run: ${{ inputs.command }}
env:
NAMADA_MASP_PARAMS_DIR: /home/runner/.masp-params
RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=/usr/local/bin/mold"
Expand Down

0 comments on commit f382bfc

Please sign in to comment.