Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

ci(core): run Rust tests

Elijah Potter812cf68f93a6
diff --git a/.github/workflows/just_checks.yml b/.github/workflows/just_checks.yml
index 80348fd78..5038d7684 100644
--- a/.github/workflows/just_checks.yml
+++ b/.github/workflows/just_checks.yml
@@ -20,6 +20,7 @@ jobs:
[
check-rust,
check-js,
+ test-rust,
test-harperjs,
test-vscode,
test-chrome-plugin,
diff --git a/justfile b/justfile
index dc9bed646..1ac53fbcb 100644
--- a/justfile
+++ b/justfile
@@ -302,10 +302,12 @@ dogfood:
./target/release/harper-cli lint $file
done
-# Test everything.
-test: test-harperjs test-vscode test-obsidian test-chrome-plugin test-firefox-plugin
+test-rust:
cargo test
+# Test everything.
+test: test-rust test-harperjs test-vscode test-obsidian test-chrome-plugin test-firefox-plugin
+
# Use `harper-cli` to parse a provided file and print out the resulting tokens.
parse file:
cargo run --bin harper-cli -- parse {{file}}