Skip to content

Commit

Permalink
build(itest): single command integration tests
Browse files Browse the repository at this point in the history
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
  • Loading branch information
cafkafk committed Jan 26, 2024
1 parent 0c41b3a commit 45fff56
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
# For `nix develop`:
devShells.default = pkgs.mkShell {
inherit (self.checks.${system}.pre-commit-check) shellHook;
nativeBuildInputs = with pkgs; [rustup toolchain just zip reuse pkg-config openssl vhs];
nativeBuildInputs = with pkgs; [rustup toolchain just zip reuse pkg-config openssl vhs fish];
};

# For `nix flake check`
Expand Down
5 changes: 5 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -310,3 +310,8 @@ itest-live:
just run_test_pre "http://rime.cx/v1/flakehub/cafkafk/hello/s/*.tar.gz?version=%3e%3d0.0.1%2c%3c%3d0.0.2-pre.5"

@echo "tests passsed :3"

# Easy itest... idk I don't wanna type something long
etest:
#!/usr/bin/env fish
cargo build && cargo run &; sleep 2; just itest; pkill rime

0 comments on commit 45fff56

Please sign in to comment.