Skip to content

Test

Test #20

Workflow file for this run

name: Rust
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
- name: Install Neovim
run: |
sudo apt-get update
sudo apt-get install -y neovim
- 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: |
cd tests && ./run_all.sh