File tree Expand file tree Collapse file tree 2 files changed +53
-33
lines changed Expand file tree Collapse file tree 2 files changed +53
-33
lines changed Original file line number Diff line number Diff line change 1+ name : ASP.NET Benchmarks CI
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ paths-ignore :
7+ - " **/*.md"
8+
9+ pull_request :
10+ paths-ignore :
11+ - " **/*.md"
12+
13+ workflow_dispatch :
14+
15+ jobs :
16+ build :
17+ strategy :
18+ matrix :
19+ os : [ubuntu-latest]
20+ runs-on : ${{ matrix.os }}
21+ name : Build & Test
22+ env :
23+ DOTNET_CLI_TELEMETRY_OPTOUT : true
24+ DOTNET_NOLOGO : true
25+ SuppressNETCoreSdkPreviewMessage : true
26+ steps :
27+ - uses : actions/checkout@v4
28+
29+ - name : Install .NET SDK (global.json)
30+ uses : actions/setup-dotnet@v4
31+ with :
32+ global-json-file : global.json
33+ dotnet-version : |
34+ 8.0.x
35+
36+ - name : Print .NET info
37+ run : dotnet --info
38+
39+ - name : Build
40+ run : dotnet build ./src/BenchmarksApps.sln
41+
42+ - name : Test
43+ run : >
44+ dotnet test ./src/BenchmarksApps.sln
45+ --no-build --logger console --logger trx --logger html --logger GitHubActions
46+ --results-directory ./TestResults --blame
47+ --RunConfiguration.CollectSourceInformation=true
48+
49+ - name : Publish Test Results
50+ uses : actions/upload-artifact@v4
51+ with :
52+ name : TestResults_${{ matrix.os }}
53+ path : ./TestResults
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments