From a6596e4085857bce916d8075606596265fa34fa2 Mon Sep 17 00:00:00 2001 From: Kyle Grierson Date: Fri, 18 Aug 2023 09:24:48 +0100 Subject: [PATCH] Fix workflow --- .github/workflows/test.yaml | 10 +++------- script/test | 3 --- 2 files changed, 3 insertions(+), 10 deletions(-) delete mode 100755 script/test diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 67c9cb2..1f005c2 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -11,14 +11,10 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: extractions/setup-just@v1 - uses: MunifTanjim/setup-neovim-action@v1 with: tag: ${{ matrix.neovim-version }} - - name: Install Neovim plugins + - name: Unit tests run: | - mkdir -p ~/.local/share/nvim/site/pack/test-workflow/start - git clone https://github.com/nvim-lua/plenary.nvim.git ~/.local/share/nvim/site/pack/test-workflow/start/plenary - ln -s . ~/.local/share/nvim/site/pack/test-workflow/start/nfnl-plugin-example - - name: Test with plenary / busted - run: | - ./script/test + just test diff --git a/script/test b/script/test deleted file mode 100755 index 2580103..0000000 --- a/script/test +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -nvim --headless -c "PlenaryBustedDirectory lua/spec"