mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-06 21:32:58 +00:00
chore: alias sqlness subcommand (#956)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
@@ -1,2 +1,5 @@
|
|||||||
[target.aarch64-unknown-linux-gnu]
|
[target.aarch64-unknown-linux-gnu]
|
||||||
linker = "aarch64-linux-gnu-gcc"
|
linker = "aarch64-linux-gnu-gcc"
|
||||||
|
|
||||||
|
[alias]
|
||||||
|
sqlness = "run --bin sqlness-runner --"
|
||||||
|
|||||||
2
.github/workflows/develop.yml
vendored
2
.github/workflows/develop.yml
vendored
@@ -138,7 +138,7 @@ jobs:
|
|||||||
sudo cp -a /tmp/etcd-download/etcd* /usr/local/bin/
|
sudo cp -a /tmp/etcd-download/etcd* /usr/local/bin/
|
||||||
nohup etcd >/tmp/etcd.log 2>&1 &
|
nohup etcd >/tmp/etcd.log 2>&1 &
|
||||||
- name: Run sqlness
|
- name: Run sqlness
|
||||||
run: cargo run --bin sqlness-runner && ls /tmp
|
run: cargo sqlness && ls /tmp
|
||||||
- name: Upload sqlness logs
|
- name: Upload sqlness logs
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -35,7 +35,7 @@ integration-test: ## Run integation test.
|
|||||||
|
|
||||||
.PHONY: sqlness-test
|
.PHONY: sqlness-test
|
||||||
sqlness-test: ## Run sqlness test.
|
sqlness-test: ## Run sqlness test.
|
||||||
cargo run --bin sqlness-runner
|
cargo sqlness
|
||||||
|
|
||||||
.PHONY: check
|
.PHONY: check
|
||||||
check: ## Cargo check all the targets.
|
check: ## Cargo check all the targets.
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ Sqlness walks through every file recursively and runs them.
|
|||||||
## Run the test
|
## Run the test
|
||||||
Unlike other tests, this harness is in a binary target form. You can run it with
|
Unlike other tests, this harness is in a binary target form. You can run it with
|
||||||
```shell
|
```shell
|
||||||
cargo run --bin sqlness-runner
|
cargo sqlness
|
||||||
```
|
```
|
||||||
It automatically finishes the following procedures: compile `GreptimeDB`, start it, grab tests and feed it to
|
It automatically finishes the following procedures: compile `GreptimeDB`, start it, grab tests and feed it to
|
||||||
the server, then collect and compare the results. You only need to check whether there are new `.output` files.
|
the server, then collect and compare the results. You only need to check whether there are new `.output` files.
|
||||||
|
|||||||
Reference in New Issue
Block a user