| | |
| | | - uses: actions/checkout@v2 |
| | | |
| | | - name: install_dependencies |
| | | run: sudo apt-get install libcunit1-dev clang |
| | | run: sudo apt-get install libcunit1-dev clang lcov |
| | | |
| | | - name: make |
| | | run: make clean all |
| | |
| | | CFLAGS: -fprofile-arcs -ftest-coverage |
| | | LDFLAGS: -lgcov |
| | | run: make clean all test |
| | | |
| | | |
| | | - name: lcov_capture |
| | | run: lcov --capture --directory libscpi/ --output-file lcov.info |
| | | |
| | | - name: lcov_cleanup |
| | | run: lcov --remove lcov.info '*/test/*' --output-file lcov.info |
| | | |
| | | - name: Coveralls |
| | | uses: coverallsapp/github-action@master |
| | | with: |
| | | github-token: ${{ secrets.GITHUB_TOKEN }} |
| | | path-to-lcov: ./lcov.info |