From 0f82c33f36cac651fddd538dc5c125996254cfd3 Mon Sep 17 00:00:00 2001 From: dpasukhi Date: Sat, 1 Feb 2025 22:23:49 +0000 Subject: [PATCH] just a test case to be be sure that will works for error --- .github/workflows/build-and-test-multiplatform.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-and-test-multiplatform.yml b/.github/workflows/build-and-test-multiplatform.yml index 06f88d26ae..d4965fc538 100644 --- a/.github/workflows/build-and-test-multiplatform.yml +++ b/.github/workflows/build-and-test-multiplatform.yml @@ -1507,6 +1507,9 @@ jobs: - name: Check for test failures id: check_failures run: | + echo "::error::Number of FAILED tests ($FAILED_COUNT) exceeds threshold of 0" + echo "FAILED_COUNT=$FAILED_COUNT" >> $GITHUB_ENV + exit 1 failed_count=0 if [ -f "install/bin/results/linux-gcc-x64/tests.log" ]; then total_line=$(grep "Total cases:" install/bin/results/linux-gcc-x64/tests.log) @@ -1536,6 +1539,9 @@ jobs: cd data wget https://github.com/Open-Cascade-SAS/OCCT/releases/download/V7_8_0/opencascade-dataset-7.8.0.tar.xz tar -xf opencascade-dataset-7.8.0.tar.xz + echo "::error::Number of FAILED tests ($FAILED_COUNT) exceeds threshold of 0" + echo "FAILED_COUNT=$FAILED_COUNT" >> $GITHUB_ENV + exit 1 - name: Download and extract install directory if: steps.check_failures.outputs.failed_count > 0