diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index fca7be2..cab460e 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -23,16 +23,16 @@ jobs: - name: Restore dependencies run: dotnet restore - name: Build - run: dotnet build --no-restore + run: dotnet build --no-restore -p:DeterministicSourcePaths=false -p:DebugType=pdbonly - name: Test - run: dotnet test -p:CollectCoverage=true -p:CoverletOutput=.github/tests/ -p:CoverletOutputFormat=opencover --no-build --verbosity normal + run: dotnet test -p:CollectCoverage=true -p:CoverletOutput=testResult/ -p:CoverletOutputFormat=opencover --verbosity normal --no-build - name: Create Test Coverage Badge uses: simon-k/dotnet-code-coverage-badge@v1.0.0 id: create_coverage_badge with: label: Unit Test Coverage color: brightgreen - path: ../../.github/tests/coverage.opencover.xml + path: testResult/coverage.opencover.xml gist-filename: sharpgram-coverage.json gist-id: 7e37706c2cdef28ee452cd83721f6a3c gist-auth-token: ${{ secrets.GIST_AUTH_TOKEN }}