diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bbcf5d96..0c6f1cbc 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -21,6 +21,12 @@ jobs: - uses: actions/checkout@v2 - name: Run the tests run: make test + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + with: + flags: unit + verbose: true + fail_ci_if_error: true verify-manifests: name: Verify manifests runs-on: ubuntu-latest diff --git a/README.md b/README.md index 4affb507..62f084e2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Limitador Operator -[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0) +[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0) +[![codecov](https://codecov.io/gh/Kuadrant/limitador-operator/branch/main/graph/badge.svg?token=181Q05ZJBJ)](https://codecov.io/gh/Kuadrant/limitador-operator) ## Overview