Skip to content

Commit 5ec09ea

Browse files
committed
ci: update Makefile to stop using configurable GROUP_DEPTH
The reason is mostly because it wasn't used even handful of times since it was introduced about 2.25 years prior.
1 parent cf5bfe0 commit 5ec09ea

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
GROUP_DEPTH ?= 1
21
NVIM_EXEC ?= nvim
32

43
all: test documentation
@@ -10,7 +9,7 @@ test:
109
$$nvim_exec --version | head -n 1 && echo '' ; \
1110
$$nvim_exec --headless --noplugin -u ./scripts/minimal_init.lua \
1211
-c "lua require('mini.test').setup()" \
13-
-c "lua MiniTest.run({ execute = { reporter = MiniTest.gen_reporter.stdout({ group_depth = $(GROUP_DEPTH) }) } })" ; \
12+
-c "lua MiniTest.run()" ; \
1413
done
1514

1615
# Use `make test_xxx` to run tests for module 'mini.xxx'
@@ -22,7 +21,7 @@ $(TEST_MODULES):
2221
$$nvim_exec --version | head -n 1 && echo '' ; \
2322
$$nvim_exec --headless --noplugin -u ./scripts/minimal_init.lua \
2423
-c "lua require('mini.test').setup()" \
25-
-c "lua MiniTest.run_file('tests/$@.lua', { execute = { reporter = MiniTest.gen_reporter.stdout({ group_depth = $(GROUP_DEPTH) }) } })" ; \
24+
-c "lua MiniTest.run_file('tests/$@.lua')" ; \
2625
done
2726

2827
documentation:

0 commit comments

Comments
 (0)