Jan Breuer
2021-11-09 f1cc52a406a0da22b478d7c549cc0218d723c02e
actions: collect coverage by lcov
1个文件已修改
7 ■■■■■ 已修改文件
.github/workflows/ubuntu.yml 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.github/workflows/ubuntu.yml
@@ -40,8 +40,15 @@
        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