diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d650f13..59de98c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,3 +47,10 @@ jobs: name: coverage-report path: coverage/ if-no-files-found: error + + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: coverage/lcov.info + fail_ci_if_error: true diff --git a/README.md b/README.md index 7715c91..941d365 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Synapse -![Coverage](https://github.com/alchemydc/synapse/actions/workflows/ci.yml/badge.svg) +[![Tests](https://github.com/alchemydc/synapse/actions/workflows/ci.yml/badge.svg)](https://github.com/alchemydc/synapse/actions/workflows/ci.yml) +[![Coverage](https://codecov.io/gh/alchemydc/synapse/branch/main/graph/badge.svg)](https://codecov.io/gh/alchemydc/synapse) Synapse is an intelligent community digest bot designed to aggregate, summarize, and distribute conversations from your community platforms. It helps teams stay on top of important discussions without getting lost in the noise.