c-kzg-4844/.github/workflows/ckzg-test.yml
Justin Traglia 44fe79fd42
Run static analysis in CI (#129)
* Run static analysis in CI

* Remove analysis-report in make clean

* Add remark

* Remove the memory helper functions

* Revert "Remove the memory helper functions"

This reverts commit 364234aea02cca38ed40a5bce1bbc8f8eb02aee2.

* Remove swap file
2023-02-11 16:03:35 +00:00

41 lines
798 B
YAML

name: CKZG tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-ckzg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Build
run: |
cd src
make blst
make
- name: Test
run: |
cd src
make test
- name: Clang Static Analyzer
run: |
cd src
make analyze
- name: Install LLVM
uses: egor-tensin/setup-clang@v1
- name: Generate coverage report
run: |
cd src
make test_cov
- name: Save coverage report
uses: actions/upload-artifact@v3
with:
name: coverage
path: src/coverage.html