tested real verifier/prover locally #134
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Rust Tests | |
| on: | |
| pull_request: | |
| jobs: | |
| test: | |
| name: Run Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| - name: Rust Cache | |
| uses: Swatinem/rust-cache@v2 | |
| # Install Foundry | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| with: | |
| version: nightly | |
| - name: Install RISC0 | |
| uses: ./.github/actions/install-risc0 | |
| with: | |
| version: 1.2.4 | |
| # Build contracts | |
| - name: Build contracts | |
| run: | | |
| make build-methods | |
| cp monitor/contract/* contract/src/ | |
| make compile-ttc-contract | |
| - name: Run Tests | |
| run: make test | |
| - name: Run Integration Tests | |
| run: | | |
| docker compose up -d postgres | |
| make test-integration |