@@ -212,42 +212,42 @@ jobs:
212212 body : Url is ${{env.action_url}}
213213 labels : nightlybuild
214214
215- codecoverage :
216- name : " Nightly Build - Code Coverage"
217- env :
218- ASPNETCORE_ENVIRONMENT : " Production"
215+ # codecoverage:
216+ # name: "Nightly Build - Code Coverage"
217+ # env:
218+ # ASPNETCORE_ENVIRONMENT: "Production"
219219
220- runs-on : ubuntu-latest
220+ # runs-on: ubuntu-latest
221221
222- steps :
223- 222+ # steps:
223+ # - uses: actions/[email protected] 224224
225- - name : Restore Nuget Packages
226- run : dotnet restore SecurityService.sln --source https://api.nuget.org/v3/index.json --source https://www.myget.org/F/transactionprocessing/api/v3/index.json
227-
228- - name : Install NET 7
229- uses : actions/setup-dotnet@v2
230- with :
231- dotnet-version : ' 7.0.x'
225+ # - name: Install NET 7
226+ # uses: actions/setup-dotnet@v2
227+ # with:
228+ # dotnet-version: '7.0.x'
232229
233- - name : Build Code
234- run : dotnet build SecurityService.sln --configuration Release
230+ # - name: Restore Nuget Packages
231+ # run: dotnet restore SecurityService.sln --source https://api.nuget.org/v3/index.json --source https://www.myget.org/F/transactionprocessing/api/v3/index.json
232+
233+ # - name: Build Code
234+ # run: dotnet build SecurityService.sln --configuration Release
235235
236- - name : Run Unit Tests
237- run : |
238- echo "ASPNETCORE_ENVIRONMENT are > ${ASPNETCORE_ENVIRONMENT}"
239- dotnet test "SecurityService.UnitTests\SecurityService.UnitTests.csproj" /p:ExcludeByFile="\SecurityService\Views\**\*.cshtml" /p:CollectCoverage=true /p:Exclude="[xunit*]*" /p:ExcludeByAttribute="Obsolete" /p:ExcludeByAttribute="GeneratedCodeAttribute" /p:ExcludeByAttribute="CompilerGeneratedAttribute" /p:ExcludeByAttribute="ExcludeFromCodeCoverageAttribute" /p:CoverletOutput="../lcov1.info" /maxcpucount:1 /p:CoverletOutputFormat="lcov"
236+ # - name: Run Unit Tests
237+ # run: |
238+ # echo "ASPNETCORE_ENVIRONMENT are > ${ASPNETCORE_ENVIRONMENT}"
239+ # dotnet test "SecurityService.UnitTests\SecurityService.UnitTests.csproj" /p:ExcludeByFile="\SecurityService\Views\**\*.cshtml" /p:CollectCoverage=true /p:Exclude="[xunit*]*" /p:ExcludeByAttribute="Obsolete" /p:ExcludeByAttribute="GeneratedCodeAttribute" /p:ExcludeByAttribute="CompilerGeneratedAttribute" /p:ExcludeByAttribute="ExcludeFromCodeCoverageAttribute" /p:CoverletOutput="../lcov1.info" /maxcpucount:1 /p:CoverletOutputFormat="lcov"
240240
241- - name : Setup Node.js for use with actions
242- 241+ # - name: Setup Node.js for use with actions
242+ 243243
244- - name : Combine Coverage
245- run : |
246- npm i lcov-result-merger
247- ./node_modules/lcov-result-merger/bin/lcov-result-merger.js '*.info' lcov.info
244+ # - name: Combine Coverage
245+ # run: |
246+ # npm i lcov-result-merger
247+ # ./node_modules/lcov-result-merger/bin/lcov-result-merger.js '*.info' lcov.info
248248
249- - name : Upload Code Coverage
250- uses : coverallsapp/github-action@master
251- with :
252- github-token : ${{ secrets.github_token }}
253- path-to-lcov : lcov.info
249+ # - name: Upload Code Coverage
250+ # uses: coverallsapp/github-action@master
251+ # with:
252+ # github-token: ${{ secrets.github_token }}
253+ # path-to-lcov: lcov.info
0 commit comments