Skip to content

Commit

Permalink
removed steps i feal are unncessary
Browse files Browse the repository at this point in the history
  • Loading branch information
asulwer committed Jun 24, 2024
1 parent 184566e commit 08fc93c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 35 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/dotnetcore-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
Expand All @@ -23,19 +23,4 @@ jobs:
run: dotnet build RulesEngine.sln --configuration Release --no-restore

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

- name: Generate Report
shell: pwsh
run: ./scripts/generate-coverage-report.ps1

- name: Check Coverage
shell: pwsh
run: ./scripts/check-coverage.ps1 -reportPath coveragereport/Cobertura.xml -threshold 96

- name: Coveralls GitHub Action
uses: coverallsapp/[email protected]
if: ${{ github.event_name == 'push' }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coveragereport/lcov.info
run: dotnet test RulesEngine.sln --collect:"XPlat Code Coverage" --no-build --configuration Release --verbosity m
16 changes: 0 additions & 16 deletions scripts/check-coverage.ps1

This file was deleted.

2 changes: 0 additions & 2 deletions scripts/generate-coverage-report.ps1

This file was deleted.

0 comments on commit 08fc93c

Please sign in to comment.