Skip to content

Workflow file for this run

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: Run Tests
run: |
cp ./target/debug/polyglot_ls /tmp/polyglot_ls
ln -s $(realpath editor_integrations/nvim/nvim-config) ${HOME}/.config/nvim-test
/tmp/polyglot_ls --version
NVIM_APPNAME=nvim-test nvim --version
# install all plugins
NVIM_APPNAME=nvim-test nvim -c 'sleep 20' -c "q!" --headless
cd tests && ./run_all.sh