Skip to content

Commit c30bcc2

Browse files
committed
Build without script
1 parent 79d6388 commit c30bcc2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-dotnet.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ jobs:
2727
with:
2828
dotnet-version: '6.0.x'
2929
- name: Build and Test coverage
30-
run: ./BuildAndTest.ps1
30+
run: |
31+
dotnet build -f net6.0
32+
dotnet test --% --logger "junit;LogFilePath=TestResults/test_output.xml" /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=\"cobertura,json\" /p:ExcludeByFile=\"**/obj/**/*.cs\"
3133
working-directory: ./dotnet
32-
shell: pwsh
3334
- name: Upload Unit Test Results - .NET
3435
if: always()
3536
uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)