try brewing pipx #1208
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 pipx | |
brew install shellcheck | |
fi | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- 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 nightly | |
uses: rhysd/action-setup-vim@v1 | |
with: | |
neovim: true | |
version: nightly | |
- name: Test | |
run: | | |
./bootstrap/symlink | |
npm test --silent |