-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test github action for running tests
- Loading branch information
Showing
2 changed files
with
33 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Run Tests | ||
|
||
on: | ||
push: | ||
branches: [ "*" ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
test: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Neovim | ||
run: | | ||
sudo snap install nvim | ||
# sudo add-apt-repository ppa:neovim-ppa/stable -y | ||
# sudo apt-get update | ||
# sudo apt-get install neovim -y | ||
- name: Get Plenary into the mix | ||
run: | | ||
git clone https://github.com/nvim-lua/plenary.nvim.git | ||
mkdir -p .local/share/nvim/lazy/ | ||
mv plenary.nvim .local/share/nvim/lazy/ | ||
- name: Run Tests | ||
run: make test | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters