Skip to content

Poplar1: Move prefix order check to is_valid() #741

Poplar1: Move prefix order check to is_valid()

Poplar1: Move prefix order check to is_valid() #741

Workflow file for this run

name: Test
on:
push:
branches:
- main
paths:
- '.github/workflows/test.yml'
- 'poc/**'
pull_request:
paths:
- '.github/workflows/test.yml'
- 'poc/**'
jobs:
test:
name: "Run unit tests for reference code"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: pip
- name: Install dependencies
run: python -m pip install pycryptodomex mypy
- name: Run tests
working-directory: poc
run: python -m unittest
- name: Regenerate test vectors
working-directory: poc
run: python gen_test_vec.py
- name: Enforce type hints
working-directory: poc
run: python -m mypy *.py vdaf_poc/*.py tests/*.py