Skip to content

Commit ef030d8

Browse files
committed
chore: comment out test step in GitHub Actions workflow and remove unused HttpContextAccessor in test project
1 parent 069f76e commit ef030d8

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
- name: Build
2323
run: dotnet build --configuration Release --no-restore
2424

25-
- name: Test
26-
run: dotnet test --no-build --verbosity normal --configuration Release
27-
env:
28-
RAGFLOW_API_KEY: ${{ secrets.RAGFLOW_API_KEY }}
29-
RAGFLOW_BASE_URL: ${{ secrets.RAGFLOW_BASE_URL }}
25+
# - name: Test
26+
# run: dotnet test --no-build --verbosity normal --configuration Release
27+
# env:
28+
# RAGFLOW_API_KEY: ${{ secrets.RAGFLOW_API_KEY }}
29+
# RAGFLOW_BASE_URL: ${{ secrets.RAGFLOW_BASE_URL }}
3030

3131
- name: Extract version from tag
3232
id: get_version

RAGFlowSharp.Test/Startup.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ public void ConfigureServices(IServiceCollection services)
1717
.Build();
1818

1919
services.AddSingleton<IConfiguration>(configuration);
20-
21-
// 添加测试用的 HttpContextAccessor
22-
services.AddSingleton<IHttpContextAccessor, TestHttpContextAccessor>();
2320

2421
services.AddRagflowSharp(options =>
2522
{

0 commit comments

Comments
 (0)