Skip to content

Commit

Permalink
uncomment linting
Browse files Browse the repository at this point in the history
  • Loading branch information
alex.tylor committed Mar 30, 2021
1 parent 7352c8a commit e7de7ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ jobs:
- name: Run tests
run: |
export PATH="${PWD}/build/:${PATH}"
make integration
make gh-integration
echo "exit code $?"
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,22 @@ all: lint test

lint:
@echo "Linting..."
# luacheck --no-color .
luacheck --no-color .
@echo

unit:
@echo "Run unit tests..."
nvim --headless --noplugin -c 'packadd plenary.nvim' -c "PlenaryBustedDirectory lua/spec"
@echo

integration:
gh-integration:
@echo "Run integration tests..."
nvim --headless --noplugin -u tests/minimal_init.vim -c "PlenaryBustedDirectory tests { minimal_init = './tests/minimal_init.vim' }"
@echo

integration:
@echo "Run integration tests..."
nvim --headless --noplugin -c "PlenaryBustedDirectory tests"
@echo

test: unit integration

0 comments on commit e7de7ab

Please sign in to comment.