diff --git a/README.md b/README.md index e6766e3..0af3986 100644 --- a/README.md +++ b/README.md @@ -65,10 +65,16 @@ hatch env create ## Tests +Run tests during development ```sh hatch run test ``` +Run tests with matrix in ci +```sh +hatch run +py=39,310 test:pytest +``` + ## Versioning diff --git a/pyproject.toml b/pyproject.toml index 9fabc4d..c53d5db 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,10 +59,7 @@ dependencies = [ [tool.hatch.envs.default.scripts] test = "pytest tests/dexie.py" -# a separate test env, run with: -# `hatch run +py=310 test:pytest` -# -# not using this yet ;) +# not using this matrix env (yet) ;) [tool.hatch.envs.test] dependencies = [ "pytest" @@ -72,4 +69,9 @@ dependencies = [ test = "pytest tests/*" [[tool.hatch.envs.test.matrix]] -python = ["310", "311"] +python = [ + # keeping around for a minute, see #11 + "39", + "310", + "311", +]