This repository has been archived by the owner on May 16, 2024. It is now read-only.
fix: current doc state #50
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: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Neovim | |
shell: bash | |
run: | | |
mkdir -p /tmp/nvim | |
wget -q https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage -O /tmp/nvim/nvim.appimage | |
cd /tmp/nvim | |
chmod a+x ./nvim.appimage | |
./nvim.appimage --appimage-extract | |
echo "/tmp/nvim/squashfs-root/usr/bin/" >> $GITHUB_PATH | |
- name: Install plugins | |
run: | | |
nvim --headless -u test/init.lua +"sleep 60" +qa | |
- name: Install parser | |
run: | | |
nvim --headless -u test/init.lua +"silent TSInstall html" +"sleep 60" +qa | |
- name: Run Tests | |
run: | | |
nvim --version | |
nvim --headless -u test/init.lua -c "PlenaryBustedDirectory test/ { init='test/init.lua' }" |