Skip to content

Commit 52cfa11

Browse files
github-actions[bot]Copilot
authored andcommitted
eng: add Linux CI test job; fix AGENTS.md net9.0 -> net10.0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 96a4f01 commit 52cfa11

File tree

3 files changed

+42
-1
lines changed

3 files changed

+42
-1
lines changed

.github/workflows/test-report.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,13 @@ jobs:
2929
name: Report debug tests # Name of the check run which will be created
3030
path: '*.trx' # Path to test results (inside artifact .zip)
3131
reporter: dotnet-trx # Format of test results
32+
33+
test-report-release-linux:
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: dorny/test-reporter@v2
37+
with:
38+
artifact: test-results-release-linux # artifact name
39+
name: Report release tests (Linux) # Name of the check run which will be created
40+
path: '*.trx' # Path to test results (inside artifact .zip)
41+
reporter: dotnet-trx # Format of test results

.github/workflows/test.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,34 @@ jobs:
7777
name: test-results-debug
7878
# this path glob pattern requires forward slashes!
7979
path: ./src/FSharp.Control.TaskSeq.Test/TestResults/test-results-debug.trx
80+
81+
82+
test-release-linux:
83+
name: Test Release Build (Linux)
84+
runs-on: ubuntu-latest
85+
steps:
86+
- name: checkout-code
87+
uses: actions/checkout@v6
88+
with:
89+
fetch-depth: 0
90+
91+
- name: setup-dotnet
92+
uses: actions/setup-dotnet@v4
93+
94+
- name: Cache NuGet packages
95+
uses: actions/cache@v5
96+
with:
97+
path: ~/.nuget/packages
98+
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.fsproj', '**/*.csproj', 'global.json') }}
99+
restore-keys: nuget-${{ runner.os }}-
100+
101+
# run tests directly (build.cmd is Windows-only)
102+
- name: Run dotnet test - release (Linux)
103+
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"
104+
105+
- uses: actions/upload-artifact@v4
106+
if: success() || failure()
107+
with:
108+
name: test-results-release-linux
109+
# this path glob pattern requires forward slashes!
110+
path: ./src/FSharp.Control.TaskSeq.Test/TestResults/test-results-release-linux.trx

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ FSharp.Control.TaskSeq is an F# library providing a `taskSeq` computation expres
77
## Repository Layout
88

99
- `src/FSharp.Control.TaskSeq/` — Main library (netstandard2.1)
10-
- `src/FSharp.Control.TaskSeq.Test/` — xUnit test project (net9.0)
10+
- `src/FSharp.Control.TaskSeq.Test/` — xUnit test project (net10.0)
1111
- `src/FSharp.Control.TaskSeq.SmokeTests/` — Smoke/integration tests
1212
- `src/FSharp.Control.TaskSeq.sln` — Solution file
1313
- `Version.props` — Single source of truth for the package version

0 commit comments

Comments
 (0)