Skip to content

add neovim to gh workflow #1204

add neovim to gh workflow

add neovim to gh workflow #1204

Workflow file for this run

name: test
on:
push:
branches: [dev]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest"]
env:
TERM: xterm
steps:
- name: Brew
run: |
if [ "$RUNNER_OS" == "macOS" ]; then brew install shellcheck; fi
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Python 3.x
uses: actions/setup-python@v5
with:
# Semantic version range syntax or exact version of a Python version
python-version: '3.x'
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
- name: Install npm packages
run: npm ci
- name: Install neovim stable
uses: rhysd/action-setup-vim@v1
with:
neovim: true
- name: Test
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
export PIPX_HOME="$HOME/Library/Application Support/pipx"
export PIPX_BIN_DIR="$HOME/.local/bin"
fi
./bootstrap/symlink
npm test --silent