Skip to content

Commit

Permalink
placed all commands in workflow where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
asulwer committed Jun 28, 2024
1 parent 9b70710 commit d33a7f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/dotnetcore-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ jobs:
run: dotnet build RulesEngine.sln --configuration Debug --no-restore

- name: Test
run: dotnet test RulesEngine.sln --collect:"XPlat Code Coverage" --no-build --configuration Debug --verbosity m
run: dotnet test RulesEngine.sln --collect:"XPlat Code Coverage" --no-build --configuration Debug --verbosity m

- name: Install Report Tool
run: dotnet tool install --tool-path tools dotnet-reportgenerator-globaltool

- name: Generate Report
shell: pwsh
run: ./scripts/generate-coverage-report.ps1
run: ./tools/reportgenerator "-reports:**/coverage.cobertura.xml" "-targetdir:coveragereport" -reporttypes:"Html;lcov;Cobertura"

- name: Check Coverage
shell: pwsh
Expand Down
12 changes: 0 additions & 12 deletions config/dotnet-tools.json

This file was deleted.

0 comments on commit d33a7f3

Please sign in to comment.