aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-30 00:45:13 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-30 00:45:13 +0900
commit61dccb88b0d0fd1df2ee3778a7c96210689e8c59 (patch)
treece819fd074305dbeb558e8c1e0be45edb186ac53 /.github
parentf14f0f7cb62855844fcdac60911c279813d3cd05 (diff)
downloadvim-lsp-settings-61dccb88b0d0fd1df2ee3778a7c96210689e8c59.tar.gz
vim-lsp-settings-61dccb88b0d0fd1df2ee3778a7c96210689e8c59.tar.bz2
vim-lsp-settings-61dccb88b0d0fd1df2ee3778a7c96210689e8c59.zip
Add tests
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/linux_vim.yml46
1 files changed, 46 insertions, 0 deletions
diff --git a/.github/workflows/linux_vim.yml b/.github/workflows/linux_vim.yml
new file mode 100644
index 0000000..8b0f4f2
--- /dev/null
+++ b/.github/workflows/linux_vim.yml
@@ -0,0 +1,46 @@
+name: linux_vim
+
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+
+jobs:
+ build:
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [ubuntu-latest]
+ name: [vim-v82-x64, vim-v81-x64]
+ include:
+ - name: vim-v82-x64
+ os: ubuntu-latest
+ vim_version: 8.2.0037
+ glibc_version: 2.15
+ - name: vim-v81-x64
+ os: ubuntu-latest
+ vim_version: 8.1.2414
+ glibc_version: 2.15
+ runs-on: ${{matrix.os}}
+ steps:
+ - uses: actions/checkout@v1
+ - name: Download vim
+ shell: bash
+ run: |
+ mkdir -p ~/vim/bin
+ curl -L https://github.com/vim/vim-appimage/releases/download/v${{matrix.vim_version}}/GVim-v${{matrix.vim_version}}.glibc${{matrix.glibc_version}}-x86_64.AppImage -o ~/vim/bin/vim
+ chmod u+x ~/vim/bin/vim
+ - name: Download test runner
+ shell: bash
+ run: git clone --depth 1 --branch v1.5.4 --single-branch https://github.com/thinca/vim-themis ~/themis
+ - name: Run tests
+ shell: bash
+ run: |
+ export PATH=~/vim/bin:$PATH
+ export PATH=~/themis/bin:$PATH
+ export THEMIS_VIM=vim
+ vim --version
+ themis --reporter spec