1
0
forked from extern/nix-config
donovanglover-nix-config/tests/main.cr

22 lines
612 B
Crystal
Raw Normal View History

require "spec"
2023-06-22 13:24:58 +02:00
require "./check_top_level_imports"
require "./check_latest_commit"
check_top_level_imports("containers")
check_top_level_imports("home")
2023-06-10 15:37:52 +02:00
check_top_level_imports("modules")
2023-06-10 15:39:41 +02:00
check_top_level_imports("overlays")
check_top_level_imports("specializations")
2023-06-09 01:11:40 +02:00
describe "./overlays/joshuto/default.nix", tags: "online" do
2023-06-09 01:11:40 +02:00
it "uses the latest joshuto commit" do
2023-06-09 15:06:04 +02:00
check_latest_commit("kamiyaa/joshuto", branch: "main")
end
end
2023-06-09 01:11:40 +02:00
describe "./overlays/rofi/default.nix", tags: "online" do
2023-06-09 15:06:04 +02:00
it "uses the latest rofi-wayland commit" do
check_latest_commit("lbonn/rofi", branch: "wayland")
2023-06-09 01:11:40 +02:00
end
end