From e714bdd9f2cf561705abc9ee481f8eb1527063b0 Mon Sep 17 00:00:00 2001 From: sujata-m Date: Thu, 28 May 2026 14:15:06 +0530 Subject: [PATCH] Fixed unit test cases pipeline --- .github/workflows/unit_tests.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index 33370ce..eed7bbe 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -2,8 +2,7 @@ name: Unit Tests on: workflow_dispatch: push: - branches-ignore: - - '**' + branches: [ main, dev, stage ] pull_request: branches: [ main, dev, stage ] @@ -74,14 +73,12 @@ jobs: run: coverage report --fail-under=85 - name: Generate coverage badge - if: github.event_name == 'push' || github.ref == 'refs/heads/main' run: | pip install coverage-badge mkdir -p badge-out coverage-badge -f -o badge-out/coverage.svg - name: Publish coverage badge to badges branch - if: github.event_name == 'push' || github.ref == 'refs/heads/main' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: |