[Ft] Able to start multiple Servers in a project at once #5
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| name: test (${{ matrix.os }}, nvim ${{ matrix.neovim }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| neovim: [stable, nightly] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: rhysd/action-setup-vim@v1 | |
| with: | |
| neovim: true | |
| version: ${{ matrix.neovim }} | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| # Installed so the integration specs exercise a real server rather than | |
| # skipping. Python is present on both runners as the fallback backend. | |
| - name: Install a dev server backend | |
| run: npm install -g live-server | |
| - name: Run tests | |
| run: make test | |
| lint: | |
| name: lint and format | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # Uses luacheck's own action rather than installing through luarocks. | |
| # `luarocks install` runs on Lua 5.1, and the luarocks.org manifest has | |
| # outgrown 5.1's 65536-constants-per-chunk limit, so it now fails to | |
| # parse its own index before it can resolve anything. | |
| - name: Luacheck | |
| uses: lunarmodules/luacheck@v1 | |
| with: | |
| args: lua plugin tests | |
| - name: StyLua | |
| uses: JohnnyMorganz/stylua-action@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| version: latest | |
| args: --check lua plugin tests | |
| docs: | |
| name: helptags | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: rhysd/action-setup-vim@v1 | |
| with: | |
| neovim: true | |
| version: stable | |
| - name: Generate helptags | |
| run: nvim --headless -c "helptags doc" -c "qa" |