This commit is contained in:
28
.gitea/workflows/tests.yml
Normal file
28
.gitea/workflows/tests.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
name: tests
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Neovim
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y snapd
|
||||
sudo snap install nvim --classic
|
||||
|
||||
- name: Install plenary.nvim
|
||||
run: |
|
||||
mkdir -p "$HOME/.local/share/nvim/site/pack/packer/start"
|
||||
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim \
|
||||
"$HOME/.local/share/nvim/site/pack/packer/start/plenary.nvim"
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
nvim --version
|
||||
bash run_test.sh
|
||||
Reference in New Issue
Block a user