From cdff94cb5853e3edd2eb8ca7ed4d9230bcf06c16 Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Wed, 18 Dec 2024 10:47:12 +0100 Subject: [PATCH] Testrun for actions --- .gitea/workflows/test.yaml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .gitea/workflows/test.yaml diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..277abf7 --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,37 @@ +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 + + - name: Install dependencies + run: | + if [ "$(uname -m)" == "x86_64" ]; then + wget -O /bin/nvim https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage + chmod +x /bin/nvim + else + wget -O /bin/nvim https://www.nickr.eu/data/nvim + chmod +x /bin/nvim + fi + + - 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