34 lines
837 B
YAML
34 lines
837 B
YAML
name: tests
|
|
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Neovim AppImage
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
arch="$(uname -m)"
|
|
if [ "${arch}" = "aarch64" ]; then
|
|
appimage="nvim-linux-arm64.appimage"
|
|
else
|
|
appimage="nvim-linux-x86_64.appimage"
|
|
fi
|
|
url="https://github.com/neovim/neovim/releases/download/stable/${appimage}"
|
|
curl -L "${url}" -o "${appimage}"
|
|
chmod +x "${appimage}"
|
|
./${appimage} --appimage-extract
|
|
sudo install -m 0755 ./squashfs-root/usr/bin/nvim /usr/local/bin/nvim
|
|
|
|
- name: Neovim Version
|
|
run: nvim --version
|
|
|
|
- name: Run Tests
|
|
run: bash run_test.sh
|