From 1abf82093125e014c5b09516586821d23a11d525 Mon Sep 17 00:00:00 2001 From: Bedram Tamang Date: Thu, 9 Jul 2026 08:25:05 -0700 Subject: [PATCH] ci: fix Codecov slug after repo rename modules -> framework The repo was renamed fastapi-startkit-modules -> fastapi-startkit-framework, but the CI upload slug and README badge/link URLs still pointed at the old name, so uploads and the badge hit the wrong (empty) Codecov project. - test.yml: update codecov-action slug to the new repo - readme.md, fastapi_startkit/README.md: fix badge SVG + link targets and prose link - packages/fastapi-vite-plugin/package.json: update repository/bugs URLs - add permissive codecov.yml (informational project+patch status that never fails PRs; define the fastapi_startkit flag) --- .github/workflows/test.yml | 2 +- codecov.yml | 20 ++++++++++++++++++++ fastapi_startkit/README.md | 4 ++-- packages/fastapi-vite-plugin/package.json | 4 ++-- readme.md | 2 +- 5 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 codecov.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0ff8ceaa..1860500b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,7 +49,7 @@ jobs: uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} - slug: fastapi-startkit/fastapi-startkit-modules + slug: fastapi-startkit/fastapi-startkit-framework files: fastapi_startkit/coverage.xml flags: fastapi_startkit fail_ci_if_error: false diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000..d5f0e0bc --- /dev/null +++ b/codecov.yml @@ -0,0 +1,20 @@ +coverage: + status: + project: + default: + target: auto + threshold: 100% + informational: true + patch: + default: + informational: true + +flags: + fastapi_startkit: + paths: + - fastapi_startkit/src/fastapi_startkit/ + carryforward: true + +comment: + layout: "reach, diff, flags, files" + require_changes: false diff --git a/fastapi_startkit/README.md b/fastapi_startkit/README.md index 1e96898d..3cfefb66 100644 --- a/fastapi_startkit/README.md +++ b/fastapi_startkit/README.md @@ -1,6 +1,6 @@ # FastAPI Startkit -[![codecov](https://codecov.io/gh/fastapi-startkit/fastapi-startkit-modules/graph/badge.svg)](https://codecov.io/gh/fastapi-startkit/fastapi-startkit-modules) +[![codecov](https://codecov.io/gh/fastapi-startkit/fastapi-startkit-framework/graph/badge.svg)](https://codecov.io/gh/fastapi-startkit/fastapi-startkit-framework) [![PyPI version](https://img.shields.io/pypi/v/fastapi-startkit.svg)](https://pypi.org/project/fastapi-startkit/) [![Python versions](https://img.shields.io/pypi/pyversions/fastapi-startkit.svg)](https://pypi.org/project/fastapi-startkit/) @@ -51,7 +51,7 @@ uv run pytest --cov --cov-report=term-missing ``` Coverage is collected in CI and reported to -[Codecov](https://codecov.io/gh/fastapi-startkit/fastapi-startkit-modules). +[Codecov](https://codecov.io/gh/fastapi-startkit/fastapi-startkit-framework). ## License diff --git a/packages/fastapi-vite-plugin/package.json b/packages/fastapi-vite-plugin/package.json index 7c4ce4e0..b3118324 100644 --- a/packages/fastapi-vite-plugin/package.json +++ b/packages/fastapi-vite-plugin/package.json @@ -12,11 +12,11 @@ "author": "Bedram Tamang", "repository": { "type": "git", - "url": "https://github.com/fastapi-startkit/fastapi-startkit-modules.git", + "url": "https://github.com/fastapi-startkit/fastapi-startkit-framework.git", "directory": "packages/fastapi-vite-plugin" }, "bugs": { - "url": "https://github.com/fastapi-startkit/fastapi-startkit-modules/issues" + "url": "https://github.com/fastapi-startkit/fastapi-startkit-framework/issues" }, "homepage": "https://fastapi-startkit.github.io/", "type": "module", diff --git a/readme.md b/readme.md index 5d052df4..a952a6ce 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ # FastAPI Startkit -[![codecov](https://codecov.io/gh/fastapi-startkit/fastapi-startkit-modules/branch/main/graph/badge.svg)](https://codecov.io/gh/fastapi-startkit/fastapi-startkit-modules) +[![codecov](https://codecov.io/gh/fastapi-startkit/fastapi-startkit-framework/branch/main/graph/badge.svg)](https://codecov.io/gh/fastapi-startkit/fastapi-startkit-framework) [![PyPI version](https://img.shields.io/pypi/v/fastapi-startkit.svg)](https://pypi.org/project/fastapi-startkit/) [![Python versions](https://img.shields.io/pypi/pyversions/fastapi-startkit.svg)](https://pypi.org/project/fastapi-startkit/)