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 3e2c806
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/run-smc-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@ 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: true
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 3e2c806

Please sign in to comment.