From d89ed959be8f74d2e3062eb7aa4f9ed086ead1cb Mon Sep 17 00:00:00 2001 From: Houston Haynes <8174976+houstonhaynes@users.noreply.github.com> Date: Sat, 15 Feb 2025 09:52:21 -0500 Subject: [PATCH] get debug info from reportgenerator for lcov info --- .github/workflows/build-test-docs-publish.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-test-docs-publish.yml b/.github/workflows/build-test-docs-publish.yml index 707fe391..67fbec79 100644 --- a/.github/workflows/build-test-docs-publish.yml +++ b/.github/workflows/build-test-docs-publish.yml @@ -53,12 +53,11 @@ jobs: - name: Convert coverage format run: | reportgenerator "-reports:coverage/coverage.opencover.xml" "-targetdir:coverage" "-reporttypes:lcov" + echo "LCOV file contents:" + cat coverage/lcov.info + echo "LCOV file size:" + ls -l coverage/lcov.info - - name: Get git commit info - run: | - echo "GIT_COMMIT_AUTHOR=$(git log -1 --pretty=%cn)" >> $GITHUB_ENV - echo "GIT_COMMIT_AUTHOR_EMAIL=$(git log -1 --pretty=%ce)" >> $GITHUB_ENV - echo "GIT_COMMIT_MESSAGE=$(git log -1 --pretty=%s)" >> $GITHUB_ENV - name: Upload coverage report to Coveralls uses: coverallsapp/github-action@v2 with: @@ -67,7 +66,9 @@ jobs: flag-name: unit-tests format: lcov base-path: /home/runner/work/Furnace/Furnace - fail-on-error: false + fail-on-error: true # Change to true to see actual error + git-branch: ${{ github.ref }} + git-commit: ${{ github.sha }} - name: Run fsdocs run: dotnet fsdocs build --eval --strict --properties Configuration=Release - name: Deploy docs