Skip to content

ci: run tests on Windows #14

ci: run tests on Windows

ci: run tests on Windows #14

Workflow file for this run

name: test

Check failure on line 1 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml: Expected mapping end
on:
pull_request: ~
push:
branches:
- main
jobs:
build:
name: Run tests
runs-on: {{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", "windows-latest"]
neovim-version: ["nightly", "stable", "v0.9.0"]
steps:
- uses: actions/checkout@v4
- name: Install luau-lsp
if: runner.os == "Linux"
run: |
wget https://github.com/JohnnyMorganz/luau-lsp/releases/latest/download/luau-lsp-linux-arm64.zip
unzip luau-lsp-linux-arm64.zip
mv luau-lsp $GITHUB_PATH
- name: Install luau-lsp
if: runner.os == "Windows"
run: |
curl -L -o luau-lsp-win64.zip https://github.com/JohnnyMorganz/luau-lsp/releases/latest/download/luau-lsp-win64.zip
tar -xf luau-lsp-win64.zip
mv luau-lsp.exe $env:GITHUB_PATH
- name: Run tests
uses: nvim-neorocks/nvim-busted-action@v1
with:
nvim_version: ${{ matrix.neovim-version }}