@@ -34,23 +34,23 @@ jobs:
3434 - name : Test
3535 run : |
3636 sed -i 's/"stopOnFail": false/"stopOnFail": true/g' UnitTests/xunit.runner.json
37- dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage" --settings UnitTests/coverlet.runsettings
38- mv -v UnitTests/TestResults/*/*.* UnitTests/TestResults/
37+ dotnet test --no-restore --verbosity normal # --collect:"XPlat Code Coverage" --settings UnitTests/coverlet.runsettings
38+ # mv -v UnitTests/TestResults/*/*.* UnitTests/TestResults/
3939
4040 # Note: this step is currently not writing to the gist for some reason
41- - name : Create Test Coverage Badge
42- 43- id : create_coverage_badge
44- with :
45- label : Unit Test Coverage
46- color : brightgreen
47- path : UnitTests/TestResults/coverage.opencover.xml
48- gist-filename : code-coverage.json
49- # https://gist.github.com/migueldeicaza/90ef67a684cb71db1817921a970f8d27
50- gist-id : 90ef67a684cb71db1817921a970f8d27
51- gist-auth-token : ${{ secrets.GIST_AUTH_TOKEN }}
41+ # - name: Create Test Coverage Badge
42+ 43+ # id: create_coverage_badge
44+ # with:
45+ # label: Unit Test Coverage
46+ # color: brightgreen
47+ # path: UnitTests/TestResults/coverage.opencover.xml
48+ # gist-filename: code-coverage.json
49+ # # https://gist.github.com/migueldeicaza/90ef67a684cb71db1817921a970f8d27
50+ # gist-id: 90ef67a684cb71db1817921a970f8d27
51+ # gist-auth-token: ${{ secrets.GIST_AUTH_TOKEN }}
5252
53- - name : Print Code Coverage
54- run : |
55- echo "Code coverage percentage: ${{steps.create_coverage_badge.outputs.percentage}}%"
56- echo "Badge data: ${{steps.create_coverage_badge.outputs.badge}}"
53+ # - name: Print Code Coverage
54+ # run: |
55+ # echo "Code coverage percentage: ${{steps.create_coverage_badge.outputs.percentage}}%"
56+ # echo "Badge data: ${{steps.create_coverage_badge.outputs.badge}}"
0 commit comments