From 21d8283af60927589566cb282ab640f1ccec6ebd Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Mon, 22 May 2023 10:36:49 +0200 Subject: [PATCH] Force failure if there is any unit test failed (#2113) Co-authored-by: Gaston Ponti --- .github/workflows/config.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index 24b2720a59..67120311c9 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -182,6 +182,11 @@ jobs: - name: Upload coverage to codecov if: always() uses: codecov/codecov-action@v3 + - name: Fail if there are failed tests + if: steps.unit-tests-summary.outputs.failed > 0 + run: | + echo "There are failed tests" + exit 1 race: name: Data race detector