Jan Breuer
2021-11-09 f1cc52a406a0da22b478d7c549cc0218d723c02e
actions: collect coverage by lcov
1个文件已修改
9 ■■■■ 已修改文件
.github/workflows/ubuntu.yml 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.github/workflows/ubuntu.yml
@@ -39,9 +39,16 @@
        CFLAGS: -fprofile-arcs -ftest-coverage
        LDFLAGS: -lgcov
      run: make clean all test
    - name: lcov_capture
      run: lcov --capture --directory . --output-file coverage.info
    - name: lcov_cleanup
      run: lcov --remove coverage.info 'test/*' --output-file coverage.info
    - name: Coveralls
      uses: coverallsapp/github-action@master
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}
        base-path: libscpi/
        path-to-lcov: coverage.info