Skip to content

Commit

Permalink
ci: Setup Codecov carry-forward flags 🚩
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldev5 authored and dudo50 committed Sep 4, 2024
1 parent 58abfb6 commit 7d04ae4
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,11 @@ jobs:
flags: visualizator-be
fail_ci_if_error: false
verbose: true
- name: Upload XCM API coverage report to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: apps/xcm-api
flags: xcm-api
fail_ci_if_error: false
verbose: true
11 changes: 11 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,23 @@ flag_management:
- name: xcm-sdk
paths:
- packages/sdk
carryforward: true
- name: xcm-analyser
paths:
- packages/xcm-analyser
carryforward: true
- name: xcm-router
paths:
- packages/xcm-router
carryforward: true
- name: xcm-api
paths:
- apps/xcm-api
carryforward: true
- name: visualizator-be
paths:
- apps/visualizator-be
carryforward: true

comment:
show_carryforward_flags: true
4 changes: 1 addition & 3 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"lint:check": {},
"lint": {},
"test": {},
"test:cov": {
"cache": false
},
"test:cov": {},
"test:watch": {
"cache": false
},
Expand Down

0 comments on commit 7d04ae4

Please sign in to comment.