Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix(ci): allow Codecov uploads from fork PRs (#42376)

Stephen Zhoubffaccbc9578
diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml
index 7721a9fb9a3..f579862eb8b 100644
--- a/.github/workflows/api-tests.yml
+++ b/.github/workflows/api-tests.yml
@@ -205,7 +205,6 @@ jobs:
uv run --project api coverage xml -o coverage.xml
- name: Report coverage
- if: ${{ env.CODECOV_TOKEN != '' }}
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
files: ./coverage.xml
diff --git a/.github/workflows/web-tests.yml b/.github/workflows/web-tests.yml
index 83665422aa9..815b8422b50 100644
--- a/.github/workflows/web-tests.yml
+++ b/.github/workflows/web-tests.yml
@@ -111,7 +111,6 @@ jobs:
run: vp test --merge-reports --coverage --silent=passed-only
- name: Report coverage
- if: ${{ env.CODECOV_TOKEN != '' }}
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
directory: web/coverage
@@ -157,7 +156,6 @@ jobs:
retention-days: 7
- name: Report coverage
- if: ${{ env.CODECOV_TOKEN != '' }}
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
directory: packages/dify-ui/coverage