From 512ec401beb43d920eae83818571b7778a75a9e9 Mon Sep 17 00:00:00 2001 From: Noon van der Silk Date: Tue, 17 Sep 2024 13:26:09 +0100 Subject: [PATCH] Reinstate TUI tests --- .github/workflows/ci-nix.yaml | 3 ++- nix/hydra/packages.nix | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-nix.yaml b/.github/workflows/ci-nix.yaml index 7af5844b046..c37ab773663 100644 --- a/.github/workflows/ci-nix.yaml +++ b/.github/workflows/ci-nix.yaml @@ -57,6 +57,7 @@ jobs: nix build .#${{ matrix.package }}-tests nix develop .#${{ matrix.package }}-tests --command tests + # This one is special, as it requires a tty. - name: ❓ Test (TUI) id: test_tui if: ${{ matrix.package == 'hydra-tui' }} @@ -68,7 +69,7 @@ jobs: run: | cd ${{ matrix.package }} nix build .#${{ matrix.package }}-tests - nix develop .#${{ matrix.package }}-tests --build + nix develop .#${{ matrix.package }}-tests --command tests - name: 💾 Upload build & test artifacts uses: actions/upload-artifact@v4 diff --git a/nix/hydra/packages.nix b/nix/hydra/packages.nix index 4a127fc84eb..d325184c852 100644 --- a/nix/hydra/packages.nix +++ b/nix/hydra/packages.nix @@ -167,6 +167,7 @@ rec { nativePkgs.hydra-tui.components.tests.tests hydra-node inputs.cardano-node.packages.${system}.cardano-node + inputs.cardano-node.packages.${system}.cardano-cli ]; };