mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-11-03 02:47:36 +08:00
Test with several Vim and Neovim versions and fixed deps
Run tests on GitHub Actions with Vim 8.2.0000, the latest Vim, Neovim 0.9.5 and the latest Neovim by rhysd/action-setup-vim. test/run.sh only uses the editors in $VUE_TEST_EDITORS if set, and fails if none runs. Clone the syntax plugins for tests at fixed commits, so changes there don't break tests unexpectedly.
This commit is contained in:
3 files changed
+44
-12
No files matched your search
@@ -215,6 +215,7 @@ Run tests with Vim and Neovim, whichever is installed
|
||||
```sh
|
||||
./test/run.sh
|
||||
./test/run.sh basic template # Only these cases
|
||||
VUE_TEST_EDITORS=nvim ./test/run.sh # Only Neovim
|
||||
```
|
||||
|
||||
Each case is a `.vue` or `.wpy` file in [test/cases](test/cases), with an optional `.vim` file for the config and checks. A case fails if
|
||||
@@ -224,7 +225,7 @@ Each case is a `.vue` or `.wpy` file in [test/cases](test/cases), with an option
|
||||
- a check in `Check()` fails, such as syntax, `GetVueTag()`, `GetVueSyntax()` or fold level
|
||||
- there is an error message
|
||||
|
||||
Tests also run on GitHub Actions for each push and pull request.
|
||||
Tests also run on GitHub Actions for each push and pull request, with Vim 8.2.0000, the latest Vim, Neovim 0.9.5 and the latest Neovim.
|
||||
|
||||
## Acknowledgments & Refs
|
||||
|
||||
|
||||
Reference in new issue
Block a user