replace plenary job with vim.system #115
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: Tests | |
on: [push] | |
jobs: | |
unit_tests: | |
name: unit tests | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-22.04, macos-14] | |
rev: [v0.10.0] | |
include: | |
- os: ubuntu-22.04 | |
install-cargo: curl -sSf https://sh.rustup.rs | sh -s -- -y | |
install-gg: cargo install grip-grab | |
install-sed: sudo apt-get install -y sed | |
- os: macos-14 | |
install-cargo: curl -sSf https://sh.rustup.rs | sh -s -- -y | |
install-gg: cargo install grip-grab | |
install-sed: brew install gnu-sed | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: MunifTanjim/nui.nvim | |
path: nui.nvim | |
- uses: actions/checkout@v4 | |
with: | |
repository: nvim-lua/plenary.nvim | |
path: plenary.nvim | |
- uses: actions/checkout@v4 | |
with: | |
path: pymple.nvim | |
- uses: rhysd/action-setup-vim@v1 | |
with: | |
neovim: true | |
version: ${{ matrix.rev }} | |
- name: Prepare | |
run: | | |
${{ matrix.install-cargo }} | |
${{ matrix.install-gg }} | |
gg --version | |
${{ matrix.install-sed }} | |
- name: Run tests | |
run: | | |
cd pymple.nvim | |
nvim --version | |
make test |