diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index df7222d4..7bc68bf5 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -37,7 +37,7 @@ jobs: runs-on: native steps: - uses: actions/checkout@v4 - - run: nix-build panel -A tests + - run: nix-build -A tests.panel check-deployment-basic: runs-on: native diff --git a/default.nix b/default.nix index 70c5aaf5..24b73cd2 100644 --- a/default.nix +++ b/default.nix @@ -12,6 +12,7 @@ let inherit (pkgs) lib; inherit (import sources.flake-inputs) import-flake; inherit ((import-flake { src = ./.; }).inputs) nixops4; + panel = import ./panel { inherit sources system; }; pre-commit-check = (import "${git-hooks}/nix" { inherit nixpkgs system; @@ -71,6 +72,7 @@ in tests = { inherit pre-commit-check; + panel = panel.tests; }; # re-export inputs so they can be overridden granularly diff --git a/flake.nix b/flake.nix index 0bf43705..b9d71617 100644 --- a/flake.nix +++ b/flake.nix @@ -24,9 +24,13 @@ { pkgs, lib, + system, ... }: { + checks = { + panel = (import ./. { inherit sources system; }).tests.panel.basic; + }; formatter = pkgs.nixfmt-rfc-style; pre-commit.settings.hooks =