Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:

env:
FOUNDRY_PROFILE: ci
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

jobs:
check:
Expand All @@ -34,9 +35,10 @@ jobs:
bash ./coverage.sh

- name: Upload coverage reports to Codecov
if: ${{ env.CODECOV_TOKEN != '' }}
uses: codecov/codecov-action@v5
with:
files: ./lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
token: ${{ env.CODECOV_TOKEN }}
slug: ArkEcosystem/mainsail
flags: contracts
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
- main
- develop

env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

jobs:
build:
strategy:
Expand Down Expand Up @@ -252,10 +255,11 @@ jobs:
run: pnpm run test:unit:merge

- name: Upload coverage reports to Codecov
if: ${{ env.CODECOV_TOKEN != '' }}
uses: codecov/codecov-action@v5
with:
files: ./merged-lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
token: ${{ env.CODECOV_TOKEN }}
slug: ArkEcosystem/mainsail
flags: packages

Expand Down
Loading