Skip to content

Commit

Permalink
Merge pull request #93 from NoahTheDuke/ci-nvim
Browse files Browse the repository at this point in the history
Test Neovim in CI
  • Loading branch information
NoahTheDuke authored May 30, 2024
2 parents ff1b178 + 053f440 commit 11992bb
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,16 @@ jobs:
fi
vim --version
- name: Download Neovim
run: gh -R neovim/neovim release download -p nvim-linux64.tar.gz
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Neovim
run: |
tar -C "$HOME" -xaf nvim-linux64.tar.gz
"$HOME/nvim-linux64/bin/nvim" --version
- name: Rust Toolchain Info
run: |
rustc --version
Expand All @@ -63,7 +73,13 @@ jobs:
- name: Check Formatting
run: cargo fmt --all --check

- name: Test
- name: Test Vim
run: |
cargo run
cargo run --bin=test-ftdetect
- name: Test Neovim
run: |
export TEST_VIM="$HOME/nvim-linux64/bin/nvim"
cargo run
cargo run --bin=test-ftdetect

0 comments on commit 11992bb

Please sign in to comment.