You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
704 B

  1. name: Test
  2. on: [ push, pull_request ]
  3. jobs:
  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