Skip to content

Commit

Permalink
Reinstate TUI tests (#1641)
Browse files Browse the repository at this point in the history
In the end all that was required was adding `cardano-cli` to the test
shell ( thanks @locallycompact !)
  • Loading branch information
noonio authored Sep 18, 2024
2 parents a6a121d + 512ec40 commit aa61177
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-nix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions nix/hydra/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
};

Expand Down

0 comments on commit aa61177

Please sign in to comment.