Initial profiling commit #1
Workflow file for this run
This file contains 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: TS tests | |
on: [push] | |
jobs: | |
test: | |
name: yarn test | |
runs-on: ubuntu-latest | |
environment: CI | |
env: | |
ETHEREUM_JSON_RPC_API_URL: ${{ secrets.ETHEREUM_JSON_RPC_API_URL }} | |
defaults: | |
run: | |
working-directory: packages/noir-ethereum-api | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20.x' | |
- name: Enable Corepack and Install Yarn 4 | |
run: | | |
corepack enable | |
yarn set version latest | |
- name: Install Dependencies | |
run: yarn install | |
- name: Run Unit Tests | |
run: yarn test:unit | |
- name: Install Nargo | |
uses: noir-lang/[email protected] | |
with: | |
toolchain: nightly-2024-01-11 # Pin at 0.23.0 when it's released. We need nightly now as 0.22.0 doesn't have the oracles | |
- name: Compile Circuit | |
run: nargo compile --package main | |
- name: Start Oracle Server | |
run: | | |
yarn oracle-server & | |
- name: Generate Proof | |
run: nargo prove --package main --oracle-resolver=http://localhost:5555 | |
- name: Run e2e Tests | |
run: yarn test:e2e |