Skip to content

Commit 7240f39

Browse files
authored
Merge pull request #248 from pmienk/version3
Correct code coverage calculation.
2 parents 3c665fa + c5f8963 commit 7240f39

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ jobs:
172172
if: ${{ matrix.coverage == 'cov' }}
173173
run: |
174174
lcov --directory . --capture --output-file coverage.info
175-
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
175+
lcov --remove coverage.info "/usr/*" "${{ env.LIBBITCOIN_SRC_PATH }}prefix/*" "${{ github.workspace }}/examples/*" "${{ github.workspace }}/test/*" "${{ github.workspace }}/interface.pb.*" --output-file coverage.info
176176
lcov --list coverage.info
177177
178178
- name: Coveralls.io Upload
@@ -207,7 +207,7 @@ jobs:
207207
- name: Failure list libdir
208208
if: ${{ failure() }}
209209
run: |
210-
ls -la ${{ github.workspace }}/prefixenv/lib
210+
ls -la ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib
211211
212212
- name: Failure display boost bootstrap.log [--build-boost]
213213
if: ${{ failure() && (matrix.boost == '--build-boost') }}
@@ -227,8 +227,8 @@ jobs:
227227
- name: Failure display pkgconfig
228228
if: ${{ failure() }}
229229
run: |
230-
ls ${{ github.workspace }}/prefixenv/lib/pkgconfig/
231-
cat ${{ github.workspace }}/prefixenv/lib/pkgconfig/*.pc
230+
ls ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib/pkgconfig/
231+
cat ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib/pkgconfig/*.pc
232232
233233
cmake:
234234

@@ -394,7 +394,7 @@ jobs:
394394
if: ${{ matrix.coverage == 'cov' }}
395395
run: |
396396
lcov --directory . --capture --output-file coverage.info
397-
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
397+
lcov --remove coverage.info "/usr/*" "${{ env.LIBBITCOIN_SRC_PATH }}prefix/*" "${{ github.workspace }}/examples/*" "${{ github.workspace }}/test/*" "${{ github.workspace }}/interface.pb.*" --output-file coverage.info
398398
lcov --list coverage.info
399399
400400
- name: Coveralls.io Upload
@@ -429,7 +429,7 @@ jobs:
429429
- name: Failure list libdir
430430
if: ${{ failure() }}
431431
run: |
432-
ls -la ${{ github.workspace }}/prefixenv/lib
432+
ls -la ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib
433433
434434
- name: Failure display boost bootstrap.log [--build-boost]
435435
if: ${{ failure() && (matrix.boost == '--build-boost') }}
@@ -449,13 +449,13 @@ jobs:
449449
- name: Failure display pkgconfig
450450
if: ${{ failure() }}
451451
run: |
452-
ls ${{ github.workspace }}/prefixenv/lib/pkgconfig/
453-
cat ${{ github.workspace }}/prefixenv/lib/pkgconfig/*.pc
452+
ls ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib/pkgconfig/
453+
cat ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib/pkgconfig/*.pc
454454
455455
- name: Failure display cmake specific libraries
456456
if: ${{ failure() }}
457457
run: |
458-
ls ${{ github.workspace }}/prefixenv/lib/cmake
458+
ls ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib/cmake
459459
460460
- name: Failure display cmake LastTest.log
461461
if: ${{ failure() }}
@@ -585,7 +585,7 @@ jobs:
585585
if: ${{ matrix.coverage == 'cov' }}
586586
run: |
587587
lcov --directory . --capture --output-file coverage.info
588-
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
588+
lcov --remove coverage.info "/usr/*" "${{ env.LIBBITCOIN_SRC_PATH }}prefix/*" "${{ github.workspace }}/examples/*" "${{ github.workspace }}/test/*" "${{ github.workspace }}/interface.pb.*" --output-file coverage.info
589589
lcov --list coverage.info
590590
591591
- name: Coveralls.io Upload
@@ -620,7 +620,7 @@ jobs:
620620
- name: Failure list libdir
621621
if: ${{ failure() }}
622622
run: |
623-
ls -la ${{ github.workspace }}/prefixenv/lib
623+
ls -la ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib
624624
625625
- name: Failure display boost bootstrap.log [--build-boost]
626626
if: ${{ failure() && (matrix.boost == '--build-boost') }}
@@ -640,13 +640,13 @@ jobs:
640640
- name: Failure display pkgconfig
641641
if: ${{ failure() }}
642642
run: |
643-
ls ${{ github.workspace }}/prefixenv/lib/pkgconfig/
644-
cat ${{ github.workspace }}/prefixenv/lib/pkgconfig/*.pc
643+
ls ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib/pkgconfig/
644+
cat ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib/pkgconfig/*.pc
645645
646646
- name: Failure display cmake specific libraries
647647
if: ${{ failure() }}
648648
run: |
649-
ls ${{ github.workspace }}/prefixenv/lib/cmake
649+
ls ${{ env.LIBBITCOIN_SRC_PATH }}prefix/lib/cmake
650650
651651
- name: Failure display cmake LastTest.log
652652
if: ${{ failure() }}

0 commit comments

Comments
 (0)