From c07059e139b4c8555bc9ab5ee26bf624d483f2dc Mon Sep 17 00:00:00 2001 From: Tal Date: Tue, 6 Aug 2024 19:45:14 +0300 Subject: [PATCH] Update .github/workflows/code_coverage.yaml Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com> --- .github/workflows/code_coverage.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/code_coverage.yaml b/.github/workflows/code_coverage.yaml index 9d7d9012..f55f083e 100644 --- a/.github/workflows/code_coverage.yaml +++ b/.github/workflows/code_coverage.yaml @@ -41,6 +41,12 @@ jobs: docker cp test_container:/app/coverage.xml coverage.xml + - name: Validate coverage report + run: | + if [ ! -f coverage.xml ]; then + echo "Coverage report not found" + exit 1 + fi - name: Upload coverage to Codecov uses: codecov/codecov-action@v4.0.1 with: