mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
Update build-pipeline.yml
This commit is contained in:
12
.github/workflows/build-pipeline.yml
vendored
12
.github/workflows/build-pipeline.yml
vendored
@@ -38,7 +38,15 @@ jobs:
|
|||||||
- name: 'Run tests'
|
- name: 'Run tests'
|
||||||
run: |
|
run: |
|
||||||
cd '${{ github.workspace }}/MewtocolTests'
|
cd '${{ github.workspace }}/MewtocolTests'
|
||||||
dotnet test --logger:"console;verbosity=detailed"
|
dotnet test --logger "trx;logfilename=testresults.trx"
|
||||||
|
#Generate a test report
|
||||||
|
- name: 'Test Report'
|
||||||
|
uses: dorny/test-reporter@v1
|
||||||
|
if: success() || failure() # run this step even if previous step failed
|
||||||
|
with:
|
||||||
|
name: XUnit Tests # Name of the check run which will be created
|
||||||
|
path: TestResults/testresults.xml # Path to test results
|
||||||
|
reporter: dotnet-trx # Format of test results
|
||||||
|
|
||||||
#Run code ql check
|
#Run code ql check
|
||||||
code-ql-check:
|
code-ql-check:
|
||||||
@@ -90,4 +98,4 @@ jobs:
|
|||||||
# NUGET_SOURCE: https://api.nuget.org
|
# NUGET_SOURCE: https://api.nuget.org
|
||||||
|
|
||||||
# Flag to toggle pushing symbols along with nuget package to the server, disabled by default
|
# Flag to toggle pushing symbols along with nuget package to the server, disabled by default
|
||||||
# INCLUDE_SYMBOLS: false
|
# INCLUDE_SYMBOLS: false
|
||||||
|
|||||||
Reference in New Issue
Block a user