Bryan Bennett
c59b60e747
Switch to bats over pytest
...
This removes python entirely from the stack.
Yet to run the tests on macOS, but they're buildable by way of nix
wrapping. Worst case scenario, you cannot run them from the devshell
but `nix run .#test-runner-<latest||stable>` should work okay.
2025-08-19 08:44:42 -04:00
fidgetingbits
445dc9ffc6
Improve version testing logic and add relevant tests
2025-07-19 19:00:53 +08:00
Jörg Thalheim
d41937d363
drop binary cache from flake
...
It's not really needed anymore and concerns user when instantiating
templates: https://github.com/nix-community/nix-direnv/issues/576
2025-05-26 14:44:50 +02:00
Jörg Thalheim
edb55954a8
drop bash4 from ci
...
We are no longer able to compile bash4. Ideally we could upgrade to
bash5.0 but I also had issues to compile it. I do not want to drop bash5.0 just now because it
was released in 2019 and probably enough people are still using it.
Until we have a better solution, we no longer test this bash version and
support for this version becomes best effort.
For the most part we are not using many features and the code churn
these days is relative low.
2025-05-09 13:43:09 +02:00
Benedikt Ritter
3553f8fbfe
Fix repository name in template description again.
2024-10-26 15:20:12 +02:00
Benedikt Ritter
e0d71edd99
Update repository name in template description
2024-10-26 11:06:31 +00:00
Jörg Thalheim
5f8bbf7681
replace nixpkgs-fmt with nixfmt-rfc-style
2024-08-15 14:50:28 +02:00
Jörg Thalheim
e6cb2a2a72
fix flake update
2024-05-09 15:12:57 +02:00
Bryan Bennett
b653b7226b
Add shellcheck to the devshell
2024-04-19 15:54:50 -04:00
Jörg Thalheim
1ad869dfe9
bash4: only test on x86_64-linux
...
Should be enough to catch language regressions.
2023-12-21 10:58:10 +01:00
Jörg Thalheim
913735d6b8
fix devShell
...
In https://github.com/nix-community/nix-direnv/pull/450 I broke the default shell by accident
2023-12-21 09:31:54 +01:00
Jörg Thalheim
04d6770ea7
set bash 4.4 as minimum
2023-12-20 08:20:11 +01:00
Arthur Noel
4d326252ae
treefmt: use shfmt and statix
...
simplifies treefmt.nix and adds `direnvrc` to treefmt includes for
shellcheck
2023-12-14 20:23:43 +00:00
Arthur Noel
b1231eafb1
shell: include treefmt wrapper
2023-12-03 11:07:49 +00:00
zowoq
6955d6e735
flake: remove garnix nixConfig
2023-12-03 10:15:26 +10:00
Arthur Noel
f33c17faff
flake: rename deprecated overlay to overlays.default
2023-11-29 13:30:44 +00:00
Jörg Thalheim
037cc9cc25
format with treefmt
2023-11-29 07:34:23 +01:00
Jörg Thalheim
1133b15e75
add treefmt
2023-11-29 07:34:23 +01:00
Jörg Thalheim
e3d41d9c39
also test nix-unstable
2023-05-23 17:22:04 +02:00
Jörg Thalheim
fd7dbd8e0d
add garnix to flake.nix
2023-05-23 16:02:08 +02:00
Jörg Thalheim
7f308330d5
split of linting from test
2023-05-23 16:02:08 +02:00
Jörg Thalheim
f59840c4c2
flake: drop legacy flake outputs
2023-05-23 15:40:13 +02:00
Jörg Thalheim
023f8af588
add possibility to add multiple templates
2022-06-01 09:31:24 +02:00
Eric Wolf
76eba564f7
Convert ci tests to nix flake app test-runner
2022-04-03 13:30:25 +02:00
Michael Hoang
7c9a7b7595
flake.nix: Import shell.nix as devShell
2021-12-06 15:19:49 +11:00
Ana Hobden
7f73bb6d9a
chore: fix double import of nixpkgs
...
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2021-06-28 19:18:55 -07:00
Ana Hobden
d9150502ad
chore: add overlay
...
Signed-off-by: Ana Hobden <operator@hoverbear.org>
2021-06-25 09:02:01 -07:00
Jörg Thalheim
5655ef0fbd
add project template
2021-05-29 09:43:52 +02:00