Skip to content

Commit

Permalink
feat/1731 code coverage in Codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
count-sum committed Sep 9, 2024
1 parent a001342 commit 174d0ac
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/run-smc-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,24 @@ jobs:
- name: Run smart contracts tests and generate coverage report
run: pnpm -F contracts run coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
files: ./coverage/coverage-final.json
flags: hardhat
name: codecov-contracts
verbose: true
comment:
layout: " diff, flags, files"
behavior: default
require_changes: false
require_base: false
require_head: true
hide_project_coverage: false
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

solidity-format-check:
runs-on: ubuntu-latest
name: Solidity format check
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/LineaRollup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1742,7 +1742,7 @@ describe("Linea Rollup contract", () => {
calldataAggregatedProof1To155.l1RollingHash,
);

// aggregatedProof1To81.aggregatedProof, // wrong proof on purpose
// aggregatedProof1To81.aggregatedProof, // wrong proof on purpose
const finalizeCall = lineaRollup
.connect(operator)
.finalizeBlocksWithProof(aggregatedProof1To81.aggregatedProof, TEST_PUBLIC_VERIFIER_INDEX, finalizationData);
Expand Down

0 comments on commit 174d0ac

Please sign in to comment.