From 9c1cc1d167a8ced290d8e323b68a6f01d7232bc8 Mon Sep 17 00:00:00 2001 From: Pedro Silva <9375141+pedrox-hs@users.noreply.github.com> Date: Fri, 3 Nov 2023 10:01:36 -0300 Subject: [PATCH] Fix Codecov flag --- .github/workflows/testing.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 4bcbcff..3ade0a6 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -89,8 +89,14 @@ jobs: flutter test --coverage fi + - name: Normalize Codecov fag name + id: codecov-flag + run: | + echo "name=$(echo ${{ matrix.tests }} | sed -e 's/\//./g')" >> $GITHUB_OUTPUT + + - name: Codecov uses: codecov/codecov-action@v3 with: - flags: ${{ matrix.tests }} + flags: ${{ steps.codecov-flag.outputs.name }} file: ${{ matrix.tests }}/coverage/lcov.info