-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathJustfile
37 lines (28 loc) · 836 Bytes
/
Justfile
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
# List available commands
default:
just --list
# Run all pull request checks from CI via act
ci:
act --reuse --container-architecture=linux/amd64 pull_request
# Run Neovim nightly tests from CI via act
ci-nightly:
act --reuse --container-architecture=linux/amd64 -j TestsOnNightly
# Run all pull request checks from CI via local commnds (faster than ci via act)
ci-local: format test
# Run Stylua
format:
stylua .
# Run the lua tests
test: test-0-9-4 test-0-8-3
# Run the lua tests against Neovim 0.10.0
test-0-10-0:
bob use 0.10.0 && ./tests/run.sh
# Run the lua tests against Neovim 0.9.4
test-0-9-4:
bob use 0.9.4 && ./tests/run.sh
# Run the lua tests against Neovim 0.8.3
test-0-8-3:
bob use 0.8.3 && ./tests/run.sh
# Run the lua tests against Neovim nightly
test-nightly:
bob use nightly && ./tests/run.sh