arnaucube
arnaucube/keccak256-circomPublic Self-hosted repository
keccak256-circom/.github/workflows/test.yml
.github/workflows/test.ymlRaw
 1name: Test
 2on: [ push, pull_request ]
 3jobs:
 4  test:
 5    runs-on: ubuntu-latest
 6    strategy:
 7      matrix:
 8        node-version: [14.x]
 9    steps:
10    - uses: actions/checkout@v2
11    - name: Use Node.js ${{ matrix.node-version }}
12      uses: actions/setup-node@v1
13      with:
14        node-version: ${{ matrix.node-version }}
15    - name: Prepare circom
16      run: |
17        # once circom binary is published, instead of compiling from source
18        # every time, use the published binaries
19        git clone https://github.com/iden3/circom.git
20        cd circom
21        cargo build --release
22        cargo install --path circom        
23    - name: run tests
24      run: |
25        npm install
26        npm run test