Repository navigation
Expand file tree
/
Copy pathjustfile
More file actions
66 lines (46 loc) · 1.65 KB
/
Copy pathjustfile
File metadata and controls
66 lines (46 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
default:
@just --list
build *ARGS:
cargo build {{ARGS}}
run *ARGS:
cargo run {{ARGS}}
test *ARGS:
cargo nextest run --workspace {{ARGS}}
test-workflow-stress runs="1000":
WORKFLOW_TEST_RUNS={{runs}} cargo nextest run -p miso-workflow
# Run all tests (`just test`) but without any connector predicate pushdown tests
test-no-pp:
cargo nextest run --workspace -E 'not test(predicate_pushdown)'
lint:
cargo clippy --all --all-features --tests -- -D warnings
lint-fix:
cargo clippy --all --all-features --tests --fix
fmt-check:
cargo fmt --all -- --check
fmt:
cargo fmt --all
run-opensearch:
scripts/run_opensearch.sh
run-quickwit:
scripts/run_quickwit.sh
run-splunk:
scripts/run_splunk.sh
test-elasticsearch:
cargo nextest run --workspace elasticsearch_predicate_pushdown
test-quickwit:
cargo nextest run --workspace quickwit_predicate_pushdown
test-splunk:
cargo nextest run --workspace splunk_predicate_pushdown
# Fast feedback loop: test an already running `just run-elasticsearch`
test-local-elasticsearch:
EXT_ES=http://localhost:9200 cargo nextest run --workspace elasticsearch_predicate_pushdown
# Fast feedback loop: test an already running `just run-quickwit`
test-local-quickwit:
EXT_QW=http://localhost:7280 cargo nextest run --workspace quickwit_predicate_pushdown
# Fast feedback loop: test an already running `just run-splunk`
test-local-splunk:
EXT_SPLUNK=https://localhost:8089 cargo nextest run --workspace splunk_predicate_pushdown
# Full CI check
ci: fmt-check lint test
# Like `ci` but doesn't run predicate pushdown tests (which are long)
ci-no-pp: fmt-check lint test-no-pp