From bafcfe2a77a751afb4909d238855853c7f2f4c35 Mon Sep 17 00:00:00 2001 From: Marko Kungla Date: Mon, 29 Jan 2024 23:24:29 +0200 Subject: [PATCH] ci: fix coverage output check Signed-off-by: Marko Kungla --- .github/workflows/monorepo-main.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/monorepo-main.yml b/.github/workflows/monorepo-main.yml index 7585435..5eaf747 100644 --- a/.github/workflows/monorepo-main.yml +++ b/.github/workflows/monorepo-main.yml @@ -63,7 +63,7 @@ jobs: id: check-coverage working-directory: ${{ matrix.module }} run: | - if [ $(wc -l > $GITHUB_OUTPUT else echo "coverage_data_exists=false" >> $GITHUB_OUTPUT @@ -75,7 +75,7 @@ jobs: run: | module_name="${{ matrix.module }}" clean_module_name="${module_name#./}" # Remove leading ./ - if [ "$clean_module_name" == "." ]; then + if [[ "$clean_module_name" == "." ]]; then clean_module_name="happy" fi echo "clean_module_name=$clean_module_name" >> $GITHUB_OUTPUT @@ -89,8 +89,6 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} file: ${{ matrix.module }}/coverage.out - - finish-coverage-report: needs: coverage runs-on: ubuntu-latest