Skip to content

Commit

Permalink
ci: report coverage in lcov format (#3790)
Browse files Browse the repository at this point in the history
  • Loading branch information
faustbrian authored Jun 11, 2020
1 parent 6df08b9 commit 4b68d5f
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 42 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/core-database/clover.xml
file: .coverage/functional/core-database/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/bridgechain-registration/clover.xml
file: .coverage/functional/transaction-forging/bridgechain-registration/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/bridgechain-resignation/clover.xml
file: .coverage/functional/transaction-forging/bridgechain-resignation/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -233,7 +233,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/bridgechain-update/clover.xml
file: .coverage/functional/transaction-forging/bridgechain-update/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -289,7 +289,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/business-registration/clover.xml
file: .coverage/functional/transaction-forging/business-registration/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -345,7 +345,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/business-resignation/clover.xml
file: .coverage/functional/transaction-forging/business-resignation/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -401,7 +401,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/business-update/clover.xml
file: .coverage/functional/transaction-forging/business-update/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -457,7 +457,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/delegate-registration/clover.xml
file: .coverage/functional/transaction-forging/delegate-registration/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -513,7 +513,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/delegate-resignation/clover.xml
file: .coverage/functional/transaction-forging/delegate-resignation/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -569,7 +569,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/htlc-claim/clover.xml
file: .coverage/functional/transaction-forging/htlc-claim/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -625,7 +625,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/htlc-lock/clover.xml
file: .coverage/functional/transaction-forging/htlc-lock/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -681,7 +681,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/htlc-refund/clover.xml
file: .coverage/functional/transaction-forging/htlc-refund/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -737,7 +737,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/ipfs/clover.xml
file: .coverage/functional/transaction-forging/ipfs/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -793,7 +793,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/multi-payment/clover.xml
file: .coverage/functional/transaction-forging/multi-payment/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -849,7 +849,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/multi-signature-registration/clover.xml
file: .coverage/functional/transaction-forging/multi-signature-registration/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -905,7 +905,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/second-signature-registration/clover.xml
file: .coverage/functional/transaction-forging/second-signature-registration/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -961,7 +961,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/transfer/clover.xml
file: .coverage/functional/transaction-forging/transfer/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -1017,7 +1017,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/vote/clover.xml
file: .coverage/functional/transaction-forging/vote/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -1073,7 +1073,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/entity-register/clover.xml
file: .coverage/functional/transaction-forging/entity-register/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -1129,7 +1129,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/entity-resign/clover.xml
file: .coverage/functional/transaction-forging/entity-resign/lcov.info
flags: functional
fail_ci_if_error: true

Expand Down Expand Up @@ -1185,6 +1185,6 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/functional/transaction-forging/entity-update/clover.xml
file: .coverage/functional/transaction-forging/entity-update/lcov.info
flags: functional
fail_ci_if_error: true
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/integration/clover.xml
file: .coverage/integration/lcov.info
flags: integration
fail_ci_if_error: true
40 changes: 20 additions & 20 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/core/clover.xml
file: .coverage/unit/core/lcov.info
flags: unit
fail_ci_if_error: true

Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/core-api/clover.xml
file: .coverage/unit/core-api/lcov.info
flags: unit
fail_ci_if_error: true

Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/core-blockchain/clover.xml
file: .coverage/unit/core-blockchain/lcov.info
flags: unit
fail_ci_if_error: true

Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/core-cli/clover.xml
file: .coverage/unit/core-cli/lcov.info
flags: unit
fail_ci_if_error: true

Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/core-database/clover.xml
file: .coverage/unit/core-database/lcov.info
flags: unit
fail_ci_if_error: true

Expand Down Expand Up @@ -215,7 +215,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/core-forger/clover.xml
file: .coverage/unit/core-forger/lcov.info
flags: unit
fail_ci_if_error: true

Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/core-kernel/clover.xml
file: .coverage/unit/core-kernel/lcov.info
flags: unit
fail_ci_if_error: true

Expand Down Expand Up @@ -285,7 +285,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/core-logger-pino/clover.xml
file: .coverage/unit/core-logger-pino/lcov.info
flags: unit
fail_ci_if_error: true

Expand Down Expand Up @@ -320,7 +320,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/core-magistrate-api/clover.xml
file: .coverage/unit/core-magistrate-api/lcov.info
flags: unit
fail_ci_if_error: true

Expand Down Expand Up @@ -355,7 +355,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/core-magistrate-crypto/clover.xml
file: .coverage/unit/core-magistrate-crypto/lcov.info
flags: unit
fail_ci_if_error: true

Expand Down Expand Up @@ -390,7 +390,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/core-magistrate-transactions/clover.xml
file: .coverage/unit/core-magistrate-transactions/lcov.info
flags: unit
fail_ci_if_error: true

Expand Down Expand Up @@ -425,7 +425,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/core-manager/clover.xml
file: .coverage/unit/core-manager/lcov.info
flags: unit
fail_ci_if_error: true

Expand Down Expand Up @@ -460,7 +460,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/core-p2p/clover.xml
file: .coverage/unit/core-p2p/lcov.info
flags: unit
fail_ci_if_error: true

Expand Down Expand Up @@ -495,7 +495,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/core-snapshots/clover.xml
file: .coverage/unit/core-snapshots/lcov.info
flags: unit
fail_ci_if_error: true

Expand Down Expand Up @@ -530,7 +530,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/core-state/clover.xml
file: .coverage/unit/core-state/lcov.info
flags: unit
fail_ci_if_error: true

Expand Down Expand Up @@ -565,7 +565,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/core-test-framework/clover.xml
file: .coverage/unit/core-test-framework/lcov.info
flags: unit
fail_ci_if_error: true

Expand Down Expand Up @@ -600,7 +600,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/core-transaction-pool/clover.xml
file: .coverage/unit/core-transaction-pool/lcov.info
flags: unit
fail_ci_if_error: true

Expand Down Expand Up @@ -635,7 +635,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/core-transactions/clover.xml
file: .coverage/unit/core-transactions/lcov.info
flags: unit
fail_ci_if_error: true

Expand Down Expand Up @@ -670,7 +670,7 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/core-webhooks/clover.xml
file: .coverage/unit/core-webhooks/lcov.info
flags: unit
fail_ci_if_error: true

Expand Down Expand Up @@ -705,6 +705,6 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: .coverage/unit/crypto/clover.xml
file: .coverage/unit/crypto/lcov.info
flags: unit
fail_ci_if_error: true

0 comments on commit 4b68d5f

Please sign in to comment.