Skip to content

Add github action to run the test + Test fixes #28

Add github action to run the test + Test fixes

Add github action to run the test + Test fixes #28

Workflow file for this run

name: "checks"
on:
push:
branches:
- master
pull_request:
branches:
- master
- dev
- feat/github-action
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- name: Download circom binary
run: |
curl --location --request GET https://github.com/iden3/circom/releases/latest/download/circom-linux-amd64 --output $HOME/.cargo/bin/circom
# - name: Copy circom binary to $HOME/.cargo/bin
# run: cp /path/to/your/exe/file $HOME/.cargo/bin/
- name: ls
run: ls $HOME/.cargo/bin
- name: Circom clean
run: npm run circom-clean
- name: Circom build
run: npm run circom-build
- name: Run tests
run: npm run test