diff --git a/.github/workflows/main-pytest.yml b/.github/workflows/main-pytest.yml index 077e34d2..fb06a68f 100644 --- a/.github/workflows/main-pytest.yml +++ b/.github/workflows/main-pytest.yml @@ -50,3 +50,10 @@ jobs: ENV: prod PRODUCT_ID: ${{ secrets.PROD_PRODUCT_ID }} run: python -m pytest -r fE + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v5.1.2 + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: ./coverage.xml + flags: unittests + name: codecov-umbrella diff --git a/README.md b/README.md index 80eaef15..151c1626 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # GitAuto AI +[![codecov](https://codecov.io/gh/gitautoai/gitauto/graph/badge.svg?token=U4J7V3GTCU)](https://codecov.io/gh/gitautoai/gitauto) ## 1. What is GitAuto