diff --git a/.github/workflows/test-report.yaml b/.github/workflows/test-report.yaml index ba0a510..4679602 100644 --- a/.github/workflows/test-report.yaml +++ b/.github/workflows/test-report.yaml @@ -29,3 +29,13 @@ jobs: name: Report debug tests # Name of the check run which will be created path: '*.trx' # Path to test results (inside artifact .zip) reporter: dotnet-trx # Format of test results + + test-report-release-linux: + runs-on: ubuntu-latest + steps: + - uses: dorny/test-reporter@v2 + with: + artifact: test-results-release-linux # artifact name + name: Report release tests (Linux) # Name of the check run which will be created + path: '*.trx' # Path to test results (inside artifact .zip) + reporter: dotnet-trx # Format of test results diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index a1f36a6..a4dff6f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -77,3 +77,34 @@ jobs: name: test-results-debug # this path glob pattern requires forward slashes! path: ./src/FSharp.Control.TaskSeq.Test/TestResults/test-results-debug.trx + + + test-release-linux: + name: Test Release Build (Linux) + runs-on: ubuntu-latest + steps: + - name: checkout-code + uses: actions/checkout@v6 + with: + fetch-depth: 0 + + - name: setup-dotnet + uses: actions/setup-dotnet@v4 + + - name: Cache NuGet packages + uses: actions/cache@v5 + with: + path: ~/.nuget/packages + key: nuget-${{ runner.os }}-${{ hashFiles('**/*.fsproj', '**/*.csproj', 'global.json') }} + restore-keys: nuget-${{ runner.os }}- + + # run tests directly (build.cmd is Windows-only) + - name: Run dotnet test - release (Linux) + 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" + + - uses: actions/upload-artifact@v4 + if: success() || failure() + with: + name: test-results-release-linux + # this path glob pattern requires forward slashes! + path: ./src/FSharp.Control.TaskSeq.Test/TestResults/test-results-release-linux.trx diff --git a/AGENTS.md b/AGENTS.md index f40a85b..6162a53 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -7,7 +7,7 @@ FSharp.Control.TaskSeq is an F# library providing a `taskSeq` computation expres ## Repository Layout - `src/FSharp.Control.TaskSeq/` — Main library (netstandard2.1) -- `src/FSharp.Control.TaskSeq.Test/` — xUnit test project (net9.0) +- `src/FSharp.Control.TaskSeq.Test/` — xUnit test project (net10.0) - `src/FSharp.Control.TaskSeq.SmokeTests/` — Smoke/integration tests - `src/FSharp.Control.TaskSeq.sln` — Solution file - `Version.props` — Single source of truth for the package version