Skip to content

Commit

Permalink
update parallel tests + run tests on aws only for summa team
Browse files Browse the repository at this point in the history
  • Loading branch information
teddav committed Apr 8, 2024
1 parent cf3a55f commit 598db04
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ env:

jobs:
wakeup:
if: github.event.pull_request.head.repo.full_name == 'summa-dev/summa-solvency'
runs-on: ubuntu-latest
permissions:
id-token: write
Expand All @@ -31,9 +32,10 @@ jobs:
aws-region: us-west-2

- name: Wakeup runner
run: .github/scripts/wakeup.sh
run: .github/scripts/wakeup.sh

build:
if: github.event.pull_request.head.repo.full_name == 'summa-dev/summa-solvency'
runs-on: [summa-solvency-runner]
needs: [wakeup]

Expand Down Expand Up @@ -71,4 +73,3 @@ jobs:
run: |
cd backend
cargo run --release --example summa_solvency_flow
18 changes: 8 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install solc
run: (hash svm 2>/dev/null || cargo install --version 0.2.23 svm-rs) && svm install 0.8.20 && solc --version

- name: Test Zk Prover
run: |
cd zk_prover
Expand All @@ -32,24 +29,28 @@ jobs:
- uses: actions/checkout@v3
- name: Install solc
run: (hash svm 2>/dev/null || cargo install --version 0.2.23 svm-rs) && svm install 0.8.20 && solc --version

- name: Test Zk Prover examples
run: |
cd zk_prover
cargo run --release --example gen_inclusion_verifier
cargo run --release --example gen_commitment
cargo run --release --example gen_inclusion_proof
test-zk-prover-examples-nova:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Test Zk Prover examples
run: |
cd zk_prover
cargo run --release --example nova_incremental_verifier
test-backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install solc
run: (hash svm 2>/dev/null || cargo install --version 0.2.23 svm-rs) && svm install 0.8.20 && solc --version
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Test backend
run: |
cd backend
Expand All @@ -59,11 +60,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install solc
run: (hash svm 2>/dev/null || cargo install --version 0.2.23 svm-rs) && svm install 0.8.20 && solc --version
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Test backend example
run: |
cd backend
Expand Down

0 comments on commit 598db04

Please sign in to comment.