diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..cb94ea7 --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,28 @@ +name: Test Neovim config on push +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + os: [ubuntu-20.04] + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Install required packages + run: | + apt-get update -qy + apt-get install -y git neovim + apt-get install -y python3-neovim python-neovim + + - name: Clone neovim repository + run: | + git clone https://git.nickr.eu/yannickreiss/nvim + + - name: Syntax check the configuration + run: | + cd nvim && nvim -l init.lua