From b49891566912fcfde721fc3a7b0b80cf5484e893 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 27 Oct 2025 20:49:06 +0100 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=91=B7=20Restrict=20tests=20to=20supp?= =?UTF-8?q?orted=20versions=20of=20Python?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bcb46be..fbb1155 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,10 +32,6 @@ jobs: python-version: - "3.14" include: - - os: macos-latest - python-version: "3.8" - - os: windows-latest - python-version: "3.9" - os: ubuntu-latest python-version: "3.10" - os: macos-latest From ef632a163e3a974c8654ec0fa98497638943d834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 27 Oct 2025 20:49:25 +0100 Subject: [PATCH 2/3] =?UTF-8?q?=E2=9C=85=20Add=20initial=20tests=20code=20?= =?UTF-8?q?structure?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/__init__.py | 0 tests/test_main.py | 5 +++++ 2 files changed, 5 insertions(+) create mode 100644 tests/__init__.py create mode 100644 tests/test_main.py diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_main.py b/tests/test_main.py new file mode 100644 index 0000000..115e0e8 --- /dev/null +++ b/tests/test_main.py @@ -0,0 +1,5 @@ +from fastapi_new import __version__ + + +def test_version_var_exists() -> None: + assert isinstance(__version__, str) From 49f383dcdb44fdfc8b7d06d4908b3e9723b4bced Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 27 Oct 2025 20:49:43 +0100 Subject: [PATCH 3/3] =?UTF-8?q?=E2=9E=95=20Add=20test=20dependencies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- requirements-tests.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 requirements-tests.txt diff --git a/requirements-tests.txt b/requirements-tests.txt new file mode 100644 index 0000000..15fcdb6 --- /dev/null +++ b/requirements-tests.txt @@ -0,0 +1,7 @@ +-e . + +pytest >=8.3.5 +coverage[toml] >=7.6.1 +mypy ==1.14.1 +ruff ==0.14.1 +smokeshow >=0.5.0