[Prover Service] Cleanups and improvements to the existing tests #512
Workflow file for this run
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: run-cargo-test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| name: Run linter | |
| runs-on: ubuntu-latest-16-core | |
| env: | |
| CARGO_TERM_COLOR: always | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: 'recursive' | |
| - uses: pre-commit/action@v3.0.0 | |
| - run: ./scripts/task.sh prover-service install-deps | |
| - run: ./scripts/rust_lint.sh --check | |
| rust: | |
| name: Run cargo test | |
| runs-on: ubuntu-latest-16-core | |
| env: | |
| CARGO_TERM_COLOR: always | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: 'recursive' | |
| - run: echo "" > ~/.bashrc | |
| - run: ./scripts/task.sh setup-dev-environment | |
| - run: source ~/.bashrc && cargo test | |
| rust-macos: | |
| name: Run cargo test on macos | |
| runs-on: macos-latest-xlarge | |
| env: | |
| CARGO_TERM_COLOR: always | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: 'recursive' | |
| - run: echo "" > ~/.bashrc | |
| - run: ./scripts/task.sh setup-dev-environment | |
| - run: source ~/.bashrc && cargo test |