From a923555177bf96ca4bdba0af5d6174133e3cbc41 Mon Sep 17 00:00:00 2001 From: Carolina Armentano <88147887+armentanoc@users.noreply.github.com> Date: Wed, 20 Mar 2024 10:56:47 -0300 Subject: [PATCH] Update dotnet.yml --- .github/workflows/dotnet.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index b1d90c8..abc2927 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -27,10 +27,13 @@ jobs: run: dotnet build --no-restore working-directory: ./src - name: Test - run: dotnet test --no-build --verbosity normal + run: dotnet test SmartRefund/SmartRefund.Tests/TestResults/coverage.info working-directory: ./src - - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v4.0.1 + /p:CollectCoverage=true + /p:CoverletOutput=TestResults/ + /p:CoverletOutputFormat=lcov + - name: Publish coverage report to coveralls.io + uses: coverallsapp/github-action@master with: - token: ${{ secrets.CODECOV_TOKEN }} - slug: armentanoc/SmartRefund + github-token: ${{ secrets.CODECOV_TOKEN }} + path-to-lcov: SmartRefund/SmartRefund.Tests/TestResults/coverage.info