Add some basic tests for bin commands
parent
1a9cfeed82
commit
31f134213f
|
@ -34,6 +34,11 @@ jobs:
|
|||
run: make check_neovim
|
||||
env:
|
||||
DOTFILES_CI: 1
|
||||
- name: Run tests
|
||||
if: ${{ matrix.platform != 'windows-latest' }}
|
||||
run: make run_tests
|
||||
env:
|
||||
DOTFILES_CI: 1
|
||||
create-key:
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
5
Makefile
5
Makefile
|
@ -315,6 +315,11 @@ check_neovim: check_os
|
|||
@echo "Doing a basic neovim startup and quit"
|
||||
@nvim --headless -c 'set display-=msgsep' -c 'quitall'
|
||||
|
||||
.PHONY: run_tests
|
||||
run_tests: check_os
|
||||
@echo "Running all tests from tests/"
|
||||
@./tests/run_all
|
||||
|
||||
.PHONY: oh_my_zsh
|
||||
oh_my_zsh: check_os
|
||||
@echo "Installing oh-my-zsh..."
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
test $(aursearch "neovim-rpc-api") = "neovim-rpc-api-explorer"
|
||||
test $(aursearch "neovim-rpc-api-explorer") = "neovim-rpc-api-explorer"
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -ev
|
||||
|
||||
for file in $(dirname $0)/*; do
|
||||
if [ ! "$file" = $(dirname $0)/run_all ]; then
|
||||
. $file
|
||||
fi
|
||||
done # Running tests after this
|
Loading…
Reference in New Issue