Skip to content

feat: update to latest Copilot LSP #38

feat: update to latest Copilot LSP

feat: update to latest Copilot LSP #38

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
unit_tests:
name: unit tests
if: github.repository == 'AntoineGS/copilot.lua'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, ubuntu-24.04-arm, macos-latest, windows-2025]
rev: [nightly, v0.10.4, v0.11.0]
include:
- os: ubuntu-24.04
install-rg: sudo apt-get update && sudo apt-get install -y nodejs curl
- os: ubuntu-24.04-arm
install-rg: sudo apt-get update && sudo apt-get install -y nodejs curl
- os: macos-latest
install-rg: brew update && brew install node curl
- os: windows-2025
install-rg: choco install nodejs-lts curl
steps:
- uses: actions/checkout@v4
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.rev }}
- name: Prepare
run: |
${{ matrix.install-rg }}
git clone --filter=blob:none https://github.com/echasnovski/mini.nvim deps/mini.nvim
mv ./tests/env.lua.ci ./tests/env.lua
- name: Run tests
env:
GH_COPILOT_TOKEN: ${{ secrets.GH_COPILOT_TOKEN }}
run: |
nvim --version
make test