Skip to content

Feat: onchain impacts and proof generation #60

Feat: onchain impacts and proof generation

Feat: onchain impacts and proof generation #60

Workflow file for this run

name: Unit Testing
on:
workflow_dispatch:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
run-unit-tests:
name: Unit Testing
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Use Node v20
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: "yarn"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Compile contracts
run: yarn compile
- name: Unit Tests
run: yarn test:hardhat
- name: Generate coverage
run: yarn test:coverage:solidity
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
verbose: true
directory: coverage/
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}