diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7d133fe3977..151d9b2aad8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,13 +30,13 @@ jobs: - name: Test run: | find tests -name *.csproj | xargs -I % dotnet add % package coverlet.msbuild - dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage/lcov /p:MergeWith=${GITHUB_WORKSPACE}/coverage/lcov.net7.0.info + dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage/lcov - name: Coveralls if: matrix.os == 'ubuntu-latest' uses: coverallsapp/github-action@v2.2.3 with: github-token: ${{ secrets.GITHUB_TOKEN }} - file: ./coverage/lcov.net7.0.info + file: ${GITHUB_WORKSPACE}/coverage/lcov.info PublishPackage: if: github.ref == 'refs/heads/master' && startsWith(github.repository, 'neo-project/')