🌐 AI搜索 & 代理 主页
Skip to content

Commit ec651f1

Browse files
committed
Always run the embedding tests, and run them separately for Mono and .NET Core
1 parent 5af3b27 commit ec651f1

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,25 +63,26 @@ jobs:
6363
activate-environment: true
6464
enable-cache: true
6565

66-
- name: Embedding tests
67-
run: dotnet test --runtime any-${{ matrix.os.platform }} --logger "console;verbosity=detailed" src/embed_tests/
66+
- name: Embedding tests (Mono/.NET Framework)
67+
run: dotnet test --runtime any-${{ matrix.os.platform }} --framework net472 --logger "console;verbosity=detailed" src/embed_tests/
68+
if: always()
6869
env:
6970
MONO_THREADS_SUSPEND: preemptive # https://github.com/mono/mono/issues/21466
7071

72+
- name: Embedding tests (.NET Core)
73+
run: dotnet test --runtime any-${{ matrix.os.platform }} --framework net8.0 --logger "console;verbosity=detailed" src/embed_tests/
74+
if: always()
75+
7176
- name: Python Tests (Mono)
7277
if: ${{ matrix.os.category != 'windows' }}
7378
run: pytest --runtime mono
7479

75-
# TODO: Run these tests on Windows x86
7680
- name: Python Tests (.NET Core)
77-
if: ${{ matrix.os.platform == 'x64' }}
7881
run: pytest --runtime coreclr
7982

8083
- name: Python Tests (.NET Framework)
8184
if: ${{ matrix.os.category == 'windows' }}
8285
run: pytest --runtime netfx
8386

8487
- name: Python tests run from .NET
85-
run: uv run dotnet test --runtime any-${{ matrix.os.platform }} src/python_tests_runner/
86-
87-
# TODO: Run mono tests on Windows?
88+
run: dotnet test --runtime any-${{ matrix.os.platform }} src/python_tests_runner/

0 commit comments

Comments
 (0)