nvim-macrotool/.gitea/workflows/test.yaml

29 lines
582 B
YAML

name: Try loading the plugin into nvim
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-20.04]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Prepare system
run: |
apt-get update -qy
apt install -y neovim python3-nvim
- name: Load plugin into neovim
run: |
mkdir -p ~/.local/share/nvim/site/pack/plugins/start/
cp -r $(pwd) ~/.local/share/nvim/site/pack/plugins/start/$(basename "$(pwd)")
- name: Run neovim
run: |
nvim -es