Skip to content

Commit 24aac55

Browse files
Ensure grammar is installed before every test run
1 parent 1323b7c commit 24aac55

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
neovim: true
4343
version: ${{ matrix.version }}
4444
- name: Run tests
45-
run: make ci
45+
run: make test

Makefile

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
test:
2-
nvim --headless --clean -u tests/minimal_init.vim -c "PlenaryBustedDirectory tests/plenary/ {minimal_init = 'tests/minimal_init.vim'}"
2+
nvim --headless --clean -u tests/minimal_init.vim -c "TSUpdateSync org" -c "PlenaryBustedDirectory tests/plenary/ {minimal_init = 'tests/minimal_init.vim'}"
33
testfile:
4-
nvim --headless --clean -u tests/minimal_init.vim -c "PlenaryBustedFile $(FILE)"
5-
ci:
6-
nvim --noplugin --clean -u tests/minimal_init.vim -c "TSUpdateSync org" -c "qa!" && make test
4+
nvim --headless --clean -u tests/minimal_init.vim -c "TSUpdateSync org" -c "PlenaryBustedFile $(FILE)"
75
docs:
86
md2vim -desc "*orgmode* *orgmode.nvim*\n* NOTE: This file is autogenerated from DOCS.md file" DOCS.md doc/orgmode.txt
97
api_docs:

0 commit comments

Comments
 (0)