mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-11-10 13:24:05 +08:00
remove codecov upload (#21902)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
1 parent
62a4eae87b
commit
ebcdf2eef6
2 files changed
+8
-7
No files matched your search
@@ -714,13 +714,6 @@ jobs:
|
||||
set -eo pipefail
|
||||
exit ${TEST_RC}
|
||||
|
||||
- name: Upload coverage reports to Codecov
|
||||
uses: codecov/codecov-action@v5
|
||||
if: ${{ !cancelled() }}
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
fail_ci_if_error: false
|
||||
|
||||
- name: Collect ragflow log Infinity
|
||||
if: ${{ !cancelled() }}
|
||||
# Log collection is diagnostics only: rebuild the artifacts path here
|
||||
|
||||
@@ -478,12 +478,14 @@ func main() {
|
||||
err = deepdocpkg.RegisterNativeDeepDoc(arguments)
|
||||
if err != nil {
|
||||
common.Error("Failed to register in-process DeepDoc backend", err)
|
||||
common.SyncAudit()
|
||||
os.Exit(1)
|
||||
}
|
||||
case common.ServerTypeDeepDocCPU, common.ServerTypeDeepDocGPU, common.ServerTypeDeepDocAscend:
|
||||
err = runDeepDoc(ctx, serverName, arguments)
|
||||
if err != nil {
|
||||
fmt.Printf("Failed to start DEEPDOC: %v\n", err)
|
||||
common.SyncAudit()
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
@@ -567,6 +569,7 @@ func main() {
|
||||
err = server.StartServer(ctx, cancel, serverName, serverType)
|
||||
if err != nil {
|
||||
common.Error("Failed to start EE server", err)
|
||||
common.SyncAudit()
|
||||
os.Exit(1)
|
||||
}
|
||||
defer server.ShutdownServer(ctx)
|
||||
@@ -580,28 +583,33 @@ func main() {
|
||||
err = apipkg.Run(ctx, serverName, arguments)
|
||||
if err != nil {
|
||||
fmt.Printf("Failed to start API server: %v\n", err)
|
||||
common.SyncAudit()
|
||||
os.Exit(1)
|
||||
}
|
||||
case common.ServerTypeAdmin:
|
||||
err = admin.Run(ctx, serverName, arguments)
|
||||
if err != nil {
|
||||
fmt.Printf("Failed to start ADMIN server: %v\n", err)
|
||||
common.SyncAudit()
|
||||
os.Exit(1)
|
||||
}
|
||||
case common.ServerTypeIngestion:
|
||||
err = ingestorpkg.Run(ctx, cancel, serverName, arguments)
|
||||
if err != nil {
|
||||
fmt.Printf("Failed to start INGESTION worker: %v\n", err)
|
||||
common.SyncAudit()
|
||||
os.Exit(1)
|
||||
}
|
||||
case common.ServerTypeFileSyncer:
|
||||
err = syncerpkg.Run(ctx, cancel, serverName, arguments)
|
||||
if err != nil {
|
||||
fmt.Printf("Failed to start SYNCER: %v\n", err)
|
||||
common.SyncAudit()
|
||||
os.Exit(1)
|
||||
}
|
||||
default:
|
||||
fmt.Printf("Invalid server mode: %v\n", serverType)
|
||||
common.SyncAudit()
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user