c-kzg-4844/.github/workflows/python-tests.yml
Justin Traglia 4f0546af81
Run clang sanitizers in CI + workflow cleanup (#196)
* Run clang sanitizers in CI + workflow cleanup

* Update makefile

* Update workflow names

* Simplify more

* Run go benchmarks in CI

* Fix indentation nits

* Initialize variable in fr_is_one

* Revert "Initialize variable in fr_is_one"

This reverts commit f4c2749e410c68479f83d78c9a1780efe191c7fe.

* Move .PHONY outside of condition
2023-03-13 12:42:12 +02:00

45 lines
894 B
YAML

name: Python
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install py_ecc
pip install PyYAML
- name: Build BLST
run: |
cd src
make blst
- name: Build CKZG
run: |
cd src
make
- name: Build Python bindings
run: |
cd bindings/python
make install
- name: Test
run: |
cd bindings/python
make test
- name: ECC test
run: |
cd bindings/python
make ecc_test