Skip to content

Commit

Permalink
chore(ci): add other test jobs again
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoomen committed Mar 7, 2021
1 parent b2de530 commit fa9a93d
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 2 deletions.
46 changes: 45 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@ jobs:
name: Vim
strategy:
matrix:
os: [windows-latest]
os: [macos-latest, ubuntu-latest, windows-latest]
vim-version: [v7.4.2119, head]
node-version: [10, 12, 14]
include:
- os: macos-latest
target: macos
- os: ubuntu-latest
target: linux
- os: windows-latest
target: win
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -50,6 +54,46 @@ jobs:
run: ./scripts/run-vader-tests.sh "${{ steps.vim.outputs.executable }}"
shell: bash

tests_neovim:
name: NeoVim
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
vim-version: [v0.3.2, head]
node-version: [10, 12, 14]
include:
- os: macos-latest
target: macos
- os: ubuntu-latest
target: linux
runs-on: ${{ matrix.os }}
steps:
- name: Checkout kkoomen/vim-doge
uses: actions/checkout@v2
with:
submodules: true
- name: Checkout junegunn/vader.vim
uses: actions/checkout@v2
with:
repository: junegunn/vader.vim
path: vader.vim
- name: Setup nodejs
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci --no-save
- name: Build binary
run: npm run build:binary:unix
- name: Setup neovim
uses: thinca/action-setup-vim@v1
id: vim
with:
vim_version: ${{ matrix.vim-version }}
vim_type: neovim
- name: Run tests
run: ./scripts/run-vader-tests.sh "${{ steps.vim.outputs.executable }}"
shell: bash

vint:
name: Linter
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ param([String] $buildTarget, [String] $outFile)
$rootDir = Resolve-Path -Path ((Split-Path $myInvocation.MyCommand.Path) + "\..")

if (!(Test-Path "$rootDir\bin")) {
New-Item -Path "$rootDir\bin" -ItemType Directory
mkdir "$rootDir\bin"
}

cd $rootDir
Expand Down

0 comments on commit fa9a93d

Please sign in to comment.