From 034d3799f19c38d1ee16d85d5dd4961664937fb8 Mon Sep 17 00:00:00 2001 From: yuunlimm Date: Wed, 6 Nov 2024 12:45:42 -0800 Subject: [PATCH] add repo yaml for codecov --- .github/workflows/test-coverage.yaml | 8 +++++--- README.md | 1 + codecov.yml | 3 +++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index dea57013c..976d6ba09 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -54,7 +54,7 @@ jobs: working-directory: rust - run: ls -R working-directory: rust - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v4.6 with: name: lcov_unit path: rust/lcov_unit.info @@ -66,7 +66,8 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} needs: [ rust-unit-coverage ] steps: - - uses: actions/download-artifact@v4 + - uses: actions/checkout@v4.6 + - uses: actions/download-artifact@v4.6 with: name: lcov_unit - run: ls -R @@ -74,4 +75,5 @@ jobs: uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # pin@v3 with: files: lcov_unit.info - fail_ci_if_error: true \ No newline at end of file +# fail_ci_if_error: true + verbose: true diff --git a/README.md b/README.md index 05da411ec..9f15972de 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![codecov](https://codecov.io/gh/aptos-labs/aptos-core/branch/main/graph/badge.svg?token=X01RKXSGDE)](https://codecov.io/gh/aptos-labs/aptos-indexer-processors) # Aptos Indexer Client Guide This guide will get you started with creating an Aptos indexer with custom parsing. We have several endpoints that provided a streaming RPC of transaction data. diff --git a/codecov.yml b/codecov.yml index ccc96c02d..407b2f0f9 100644 --- a/codecov.yml +++ b/codecov.yml @@ -12,3 +12,6 @@ coverage: default: informational: true changes: false + +#fixes: +# - "/home/runner/work/aptos-indexer-processors/aptos-indexer-processors/rust/::rust/"