Skip to content

feat: merkle root ffi #122

feat: merkle root ffi

feat: merkle root ffi #122

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
test:
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -e .
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "18"
- name: Set up Rust Minimal Nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Install Node.js dependencies
run: |
cd test/merkletreejs
yarn install
- name: Test with pytest
run: |
pytest -m "not benchmark" -vv