Skip to content

Commit

Permalink
first version
Browse files Browse the repository at this point in the history
  • Loading branch information
cohama committed Dec 7, 2024
1 parent 913c986 commit 7a7afb6
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: test

on:
push:
branches:
- master
- dev
- temp
pull_request:
branches:
- master
- dev
- temp

jobs:
strategy:
matrix:
editor:
- Vim
- Neovim

os:
- ubuntu-24.04
- ubuntu-22.04
- ubuntu-20.04

include:
- editor: Vim
installation: ""
cmd: vim
- editor: Neovim
installation: sudo apt update -y && sudo apt install -y neovim
cmd: nvim

test:
name: test with ${{ matrix.editor }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install
run: ${{ matrix.installation }}
sudo apt update -y
sudo apt install -y neovim

- name: Install vim-themis
run: git clone https://github.com/thinca/vim-themis

- name: Show version
run: ${{ matix.cmd }} --version

- name: Run tests
env: THEMIS_VIM=${{ matrix.cmd }}
run: vim-themis/bin/themis --reporter spec

0 comments on commit 7a7afb6

Please sign in to comment.