From 1c17bfd45477c55a27d6c95d32bd20f3e8590d39 Mon Sep 17 00:00:00 2001 From: Dawid Hanrahan Date: Tue, 2 Sep 2025 15:01:18 +0200 Subject: [PATCH 1/2] Introduce badges in tURL repository --- .github/workflows/code-quality.yml | 5 +++++ README.md | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 9df53f2..4d386c8 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -84,3 +84,8 @@ jobs: - name: Run Pytest run: uv run pytest --cov-report xml --junitxml=report.xml + + - name: Upload Coverage Reports to Codecov + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/README.md b/README.md index 60b13f0..8c79a60 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,11 @@ # tURL + +[![Python Version](https://img.shields.io/badge/python-3.13%2B-blue.svg)](https://python.org) +[![FastAPI](https://img.shields.io/badge/FastAPI-0.116.1%2B-009688.svg)](https://fastapi.tiangolo.com) +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) +[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) +[![Build Status](https://github.com/SatoriAI/tURL/workflows/CI/badge.svg)](https://github.com/yourusername/tURL/actions) +[![Coverage Status](https://codecov.io/gh/SatoriAI/tURL/branch/main/graph/badge.svg)](https://codecov.io/gh/yourusername/tURL) +[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) + Backend written in Python (FastAPI + SQL Alchemy) for URL shortener. From 8d9416a8ffa1e8bda2ffc91b9418a6e761533123 Mon Sep 17 00:00:00 2001 From: Dawid Hanrahan Date: Tue, 2 Sep 2025 15:04:47 +0200 Subject: [PATCH 2/2] Update URLs --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8c79a60..e3b5219 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ [![FastAPI](https://img.shields.io/badge/FastAPI-0.116.1%2B-009688.svg)](https://fastapi.tiangolo.com) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) -[![Build Status](https://github.com/SatoriAI/tURL/workflows/CI/badge.svg)](https://github.com/yourusername/tURL/actions) -[![Coverage Status](https://codecov.io/gh/SatoriAI/tURL/branch/main/graph/badge.svg)](https://codecov.io/gh/yourusername/tURL) +[![Build Status](https://github.com/SatoriAI/tURL/workflows/CI/badge.svg)](https://github.com/SatoriAI/tURL/actions) +[![Coverage Status](https://codecov.io/gh/SatoriAI/tURL/branch/main/graph/badge.svg)](https://codecov.io/gh/SatoriAI/tURL) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) Backend written in Python (FastAPI + SQL Alchemy) for URL shortener.