aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorRaphael <glepnir@neovim.pro>2023-05-11 14:48:48 +0800
committerGitHub <noreply@github.com>2023-05-11 14:48:48 +0800
commit13e86cb91e45ba603b47f7fa1b68b5973565463f (patch)
tree81c7a67caa27166ddf391d238b28a644a1e78d50 /.github
parentfix: check cmd not empty (#2602) (diff)
downloadnvim-lspconfig-13e86cb91e45ba603b47f7fa1b68b5973565463f.tar
nvim-lspconfig-13e86cb91e45ba603b47f7fa1b68b5973565463f.tar.gz
nvim-lspconfig-13e86cb91e45ba603b47f7fa1b68b5973565463f.tar.bz2
nvim-lspconfig-13e86cb91e45ba603b47f7fa1b68b5973565463f.tar.lz
nvim-lspconfig-13e86cb91e45ba603b47f7fa1b68b5973565463f.tar.xz
nvim-lspconfig-13e86cb91e45ba603b47f7fa1b68b5973565463f.tar.zst
nvim-lspconfig-13e86cb91e45ba603b47f7fa1b68b5973565463f.zip
test: remove test depend and use vusted (#2603)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml49
1 files changed, 26 insertions, 23 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 3aef9cdc..4516645c 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -6,28 +6,31 @@ on:
- master
jobs:
- ubuntu:
- runs-on: ubuntu-latest
+ test:
+ name: Run Test
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [ubuntu-latest, macos-latest]
steps:
- - name: Checkout sources
- uses: actions/checkout@v3
- - name: Setup build dependencies
- run: |
- sudo apt update &&
- sudo apt install -y ninja-build \
- gettext \
- cmake \
- g++ \
- unzip
- - name: Run test with building Nvim
- run: make test
- macos:
- runs-on: macos-latest
- steps:
- - name: Checkout sources
- uses: actions/checkout@v3
- - name: Setup build dependencies
- run: brew install ninja
- - name: Run test with building Nvim
- run: make test
+ - uses: actions/checkout@v3
+ - uses: rhysd/action-setup-vim@v1
+ id: vim
+ with:
+ neovim: true
+ version: nightly
+
+ - name: luajit
+ uses: leafo/gh-actions-lua@v8
+ with:
+ luaVersion: "luajit-2.1.0-beta3"
+
+ - name: luarocks
+ uses: leafo/gh-actions-luarocks@v4
+ - name: run test
+ shell: bash
+ run: |
+ luarocks install luacheck
+ luarocks install vusted
+ vusted ./test