LovelaceAcademy / nix-templates

Minimal reproducible nix flake templates
MIT License
14 stars 2 forks source link

ctl-full tests not working #65

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

related to LovelaceAcademy/ctl-nix#29

https://github.com/LovelaceAcademy/nix-templates/blob/2158f270d30196c5881ef8af1fe4ba1a78579484/ctl-full/flake.nix#L143


          };
          docs = pkgs.writeShellApplication {
            name = "docs";
            runtimeInputs = with pkgs; [
              concurrent
              nodejs
              purs-watch
            ];
            text = ''
              concurrent \
              "purs-watch docs" \
              "npx http-server ./generated-docs/html -o"
            '';
          };
          testInputs = with pkgs; [
            plutip-server
            postgresql
            ogmios
            kupo
            ogmios-datum-cache
          ];
          # FIXME ctl-full tests not working
          #  related to LovelaceAcademy/ctl-nix#29
          tests = pkgs.writeShellApplication {
            name = "tests";
            runtimeInputs = testInputs ++ [ purs-watch ];
            text = ''purs-watch test "$@"'';
          };
        in
        {
          packages.default = ps.output { };

          checks.default = (ps.test.check { }).overrideAttrs ({ buildInputs ? [ ], ... }: {
            buildInputs = buildInputs ++ testInputs;
          });

          devShells.default =
            pkgs.mkShell
              {
github-actions[bot] commented 1 year ago

Closed in 3d8865d6a523827b6ba2316e2b649b0c52eb7c50