From 9511da8ecfedc933faecebbf6bf56754298a8f85 Mon Sep 17 00:00:00 2001 From: Martin Hoyer Date: Tue, 20 Aug 2024 12:16:26 +0200 Subject: [PATCH] Add a simple wrapper for local test to hatch env --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 56a28f5..5660e9a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,9 +38,11 @@ extra-dependencies = [ "mypy~=1.11.1", "ruff~=0.5.7", "hatch", + "podman-compose", ] [tool.hatch.envs.dev.scripts] +test = "podman-compose down && podman-compose up -d --build && pytest" check = "mypy --install-types --non-interactive src/tmt_web" [tool.ruff]