Skip to content

Commit

Permalink
chore: add circuit test to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
saleel committed Sep 26, 2023
1 parent 4c31cb0 commit 5251282
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions .github/workflows/contract-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,39 @@ on:
[push, pull_request]

jobs:
circuits:
name: circuits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 18
cache: 'yarn'

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Run tests
working-directory: packages/circuits
run: yarn test

contracts:
name: contracts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 18

- name: Install Yarn
run: npm install -g yarn
cache: 'yarn'

- name: Install dependencies
run: yarn install
run: yarn install --frozen-lockfile

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand Down

0 comments on commit 5251282

Please sign in to comment.