Workflow file for this run
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
name: Rust Build and Nvim Integration | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: cargo build --verbose | |
- uses: rhysd/action-setup-vim@v1 | |
with: | |
neovim: true | |
- name: Create symbolic link for Neovim configuration | |
run: | | |
cp ./target/debug/polyglot_ls /tmp/polyglot_ls | |
ln -s $(realpath editor_integrations/nvim/nvim-config) ${HOME}/.config/nvim-test | |
- name: Run integration tests | |
run: | | |
nvim --version | |
# install all plugins | |
NVIM_APPNAME=nvim-test nvim -c 'sleep 20' -c "q!" --headless | |
cd tests && ./run_all.sh |