diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index f09a970..b366b35 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -12,7 +12,7 @@ env: ARB_MAINNET_RPC: ${{ secrets.ARB_MAINNET_RPC }} jobs: - build: + coverage: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..4d3a330 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,34 @@ +codecov: + require_ci_to_pass: yes + +coverage: + status: + project: + default: + target: auto + threshold: 95 + base: auto + precision: 2 + round: down + range: "95...100" + +parsers: + gcov: + branch_detection: + conditional: yes + loop: yes + method: no + macro: no + +comment: + layout: "reach, diff, flags, files" + behavior: default + require_changes: false + require_base: no + require_head: yes + +ignore: + - "test" + - "script" + - "src/libraries/" + - "src/contracts/for-test/"