Closed alexpearce closed 2 months ago
I'm not sure how best to run the tests locally. test/flake.nix
refers services-flake
as juspay/services-flake
so it won't pick up changes in my local repo.
I'm not sure how best to run the tests locally.
test/flake.nix
refersservices-flake
asjuspay/services-flake
so it won't pick up changes in my local repo.
Once in the devShell you can run just test grafana
to run the test locally
Nice, thanks!
I had to modify the tests to use nixos-24.05
to work around the Grafana-on-macOS issue, but with my latest commit the tests pass.
Thanks @alexpearce
Addresses juspay/services-flake#210.
I've tested this by hand with configuration:
I haven't looked into it, but it might be possible to extend the existing Grafana test to check that a folder of dashboards is loaded.