File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6565 # this path glob pattern requires forward slashes!
6666 path : ./src/FSharp.Control.TaskSeq.Test/TestResults/test-results-release.trx
6767 reporter : dotnet-trx
68+
69+ test-release-linux :
70+ name : Test Release Build (Linux)
71+ runs-on : ubuntu-latest
72+ steps :
73+ - name : checkout-code
74+ uses : actions/checkout@v6
75+ with :
76+ fetch-depth : 0
77+
78+ - name : setup-dotnet
79+ uses : actions/setup-dotnet@v4
80+
81+ - name : Cache NuGet packages
82+ uses : actions/cache@v5
83+ with :
84+ path : ~/.nuget/packages
85+ key : nuget-${{ runner.os }}-${{ hashFiles('**/*.fsproj', '**/*.csproj', 'global.json') }}
86+ restore-keys : nuget-${{ runner.os }}-
87+
88+ # build.cmd is Windows-only; run dotnet test directly on Linux
89+ - name : Run dotnet test - release (Linux)
90+ run : dotnet test src/FSharp.Control.TaskSeq.Test/FSharp.Control.TaskSeq.Test.fsproj -c Release --blame-hang-timeout 60000ms --logger "console;verbosity=detailed" --logger "trx;LogFileName=test-results-release-linux.trx"
91+
92+ - name : Publish test results - release (Linux)
93+ uses : dorny/test-reporter@v2
94+ if : always()
95+ with :
96+ name : Report release tests (Linux)
97+ # this path glob pattern requires forward slashes!
98+ path : ./src/FSharp.Control.TaskSeq.Test/TestResults/test-results-release-linux.trx
99+ reporter : dotnet-trx
You can’t perform that action at this time.
0 commit comments