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 2e3ab2c
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/contract-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,32 @@ 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

- name: Install Yarn
run: npm install -g 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
Expand All @@ -21,7 +40,7 @@ jobs:
run: npm install -g 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 2e3ab2c

Please sign in to comment.