add code coverage report make option #1347
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux - Build & Unit Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
linux-build-unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Dependencies - Linux | |
run: sudo apt update && sudo apt install --fix-missing -y libsndfile1-dev libpulse-dev libasound2-dev | |
- name: Compile - Linux | |
run: cd src/ && make -j linux-pulse | |
- name: Unit Tests - Linux | |
run: cd src/ && export PATH=$PATH:$(pwd) && cd test/ && python test.py |