Skip to content

Commit

Permalink
fixed dotnet-ubuntu.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
bezzad committed Sep 20, 2024
1 parent 433d21e commit 925020a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/dotnet-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

- name: Setup
run:

- choco install opencover.portable
- choco install codecov

- name: Restore dependencies
run: dotnet restore ./src
Expand All @@ -31,7 +25,7 @@ jobs:
run: dotnet build -c Debug ./src --verbosity minimal

- name: Run tests and collect coverage
run: dotnet test -c Debug ./src --verbosity normal --no-build --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:CoverletOutput=./TestResults/coverage.cobertura.xml
run: dotnet test -c Debug ./src --verbosity normal --no-build --no-restore --collect:"XPlat Code Coverage" /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:CoverletOutput=./TestResults/coverage.cobertura.xml

- name: List files in TestResults directory
run: ls -R ./TestResults
Expand Down

0 comments on commit 925020a

Please sign in to comment.