Skip to content

Commit

Permalink
Merge pull request #248 from pmienk/version3
Browse files Browse the repository at this point in the history
Correct code coverage calculation.
  • Loading branch information
pmienk authored Feb 9, 2023
2 parents 3c665fa + c5f8963 commit 7240f39
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ jobs:
if: ${{ matrix.coverage == 'cov' }}
run: |
lcov --directory . --capture --output-file coverage.info
lcov --remove coverage.info "/usr/*" "${{ github.workspace }}/prefix/*" "${{ github.workspace }}/build/*" "${{ github.workspace }}/examples/*" "${{ github.workspace }}/test/*" "${{ github.workspace }}/interface.pb.*" --output-file coverage.info
lcov --remove coverage.info "/usr/*" "${{ env.LIBBITCOIN_SRC_PATH }}prefix/*" "${{ github.workspace }}/examples/*" "${{ github.workspace }}/test/*" "${{ github.workspace }}/interface.pb.*" --output-file coverage.info
lcov --list coverage.info
- name: Coveralls.io Upload
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
- name: Failure list libdir
if: ${{ failure() }}
run: |
ls -la ${{ github.workspace }}/prefixenv/lib
ls -la ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib
- name: Failure display boost bootstrap.log [--build-boost]
if: ${{ failure() && (matrix.boost == '--build-boost') }}
Expand All @@ -227,8 +227,8 @@ jobs:
- name: Failure display pkgconfig
if: ${{ failure() }}
run: |
ls ${{ github.workspace }}/prefixenv/lib/pkgconfig/
cat ${{ github.workspace }}/prefixenv/lib/pkgconfig/*.pc
ls ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib/pkgconfig/
cat ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib/pkgconfig/*.pc
cmake:

Expand Down Expand Up @@ -394,7 +394,7 @@ jobs:
if: ${{ matrix.coverage == 'cov' }}
run: |
lcov --directory . --capture --output-file coverage.info
lcov --remove coverage.info "/usr/*" "${{ github.workspace }}/prefix/*" "${{ github.workspace }}/build/*" "${{ github.workspace }}/examples/*" "${{ github.workspace }}/test/*" "${{ github.workspace }}/interface.pb.*" --output-file coverage.info
lcov --remove coverage.info "/usr/*" "${{ env.LIBBITCOIN_SRC_PATH }}prefix/*" "${{ github.workspace }}/examples/*" "${{ github.workspace }}/test/*" "${{ github.workspace }}/interface.pb.*" --output-file coverage.info
lcov --list coverage.info
- name: Coveralls.io Upload
Expand Down Expand Up @@ -429,7 +429,7 @@ jobs:
- name: Failure list libdir
if: ${{ failure() }}
run: |
ls -la ${{ github.workspace }}/prefixenv/lib
ls -la ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib
- name: Failure display boost bootstrap.log [--build-boost]
if: ${{ failure() && (matrix.boost == '--build-boost') }}
Expand All @@ -449,13 +449,13 @@ jobs:
- name: Failure display pkgconfig
if: ${{ failure() }}
run: |
ls ${{ github.workspace }}/prefixenv/lib/pkgconfig/
cat ${{ github.workspace }}/prefixenv/lib/pkgconfig/*.pc
ls ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib/pkgconfig/
cat ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib/pkgconfig/*.pc
- name: Failure display cmake specific libraries
if: ${{ failure() }}
run: |
ls ${{ github.workspace }}/prefixenv/lib/cmake
ls ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib/cmake
- name: Failure display cmake LastTest.log
if: ${{ failure() }}
Expand Down Expand Up @@ -585,7 +585,7 @@ jobs:
if: ${{ matrix.coverage == 'cov' }}
run: |
lcov --directory . --capture --output-file coverage.info
lcov --remove coverage.info "/usr/*" "${{ github.workspace }}/prefix/*" "${{ github.workspace }}/build/*" "${{ github.workspace }}/examples/*" "${{ github.workspace }}/test/*" "${{ github.workspace }}/interface.pb.*" --output-file coverage.info
lcov --remove coverage.info "/usr/*" "${{ env.LIBBITCOIN_SRC_PATH }}prefix/*" "${{ github.workspace }}/examples/*" "${{ github.workspace }}/test/*" "${{ github.workspace }}/interface.pb.*" --output-file coverage.info
lcov --list coverage.info
- name: Coveralls.io Upload
Expand Down Expand Up @@ -620,7 +620,7 @@ jobs:
- name: Failure list libdir
if: ${{ failure() }}
run: |
ls -la ${{ github.workspace }}/prefixenv/lib
ls -la ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib
- name: Failure display boost bootstrap.log [--build-boost]
if: ${{ failure() && (matrix.boost == '--build-boost') }}
Expand All @@ -640,13 +640,13 @@ jobs:
- name: Failure display pkgconfig
if: ${{ failure() }}
run: |
ls ${{ github.workspace }}/prefixenv/lib/pkgconfig/
cat ${{ github.workspace }}/prefixenv/lib/pkgconfig/*.pc
ls ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib/pkgconfig/
cat ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib/pkgconfig/*.pc
- name: Failure display cmake specific libraries
if: ${{ failure() }}
run: |
ls ${{ github.workspace }}/prefixenv/lib/cmake
ls ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib/cmake
- name: Failure display cmake LastTest.log
if: ${{ failure() }}
Expand Down

0 comments on commit 7240f39

Please sign in to comment.