Skip to content
name: Run Neovim Headless
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
nvim-headless:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Neovim
run: |
sudo apt-get update
sudo apt-get install -y neovim
- name: Download Rust build artifact
uses: actions/download-artifact@v3
with:
name: cargo-build
path: ${{ github.workspace }}/target
- name: Create symbolic link for Neovim configuration
run: |
cp ${{ github.workspace }}/target/debug/polyglot_ls /tmp/polyglot_ls
ln -s $(realpath editor_integrations/nvim/nvim-config) ${HOME}/.config/nvim-test
- name: Run integration tests
run: |
cd tests && ./run_all.sh