diff options
| author | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2025-09-10 10:28:36 +0000 |
|---|---|---|
| committer | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2025-09-10 10:28:36 +0000 |
| commit | e92e508a4a29f3d7ded2db7e873d49fab8f5fbd9 (patch) | |
| tree | 97744df239b0b07de117564ddac4fb362a3a3df0 | |
| parent | 359a8f38226dfb84a7365918ca34bd10e4992af2 (diff) | |
| download | focaccia-ta/tests.tar.gz focaccia-ta/tests.zip | |
Make flake check runnable ta/tests
| -rw-r--r-- | flake.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix index 9ccdd7d..f5f48fa 100644 --- a/flake.nix +++ b/flake.nix @@ -288,12 +288,17 @@ doCheck = true; dontBuild = true; - nativeCheckInputs = [ pythonDevEnv ]; + nativeCheckInputs = [ packages.dev pythonDevEnv ]; checkPhase = '' set -euo pipefail - ${packages.dev}/bin/pytest -q + export REPO_ROOT="$PWD" + ${packages.dev}/bin/python -m 'pytest' -q tests + touch $out ''; + + env = uvEnv; + shellHook = uvShellHook; }; }; }); |