Skip to content

Commit

Permalink
fix: avoid duplicate setup
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikaverpil committed May 12, 2024
1 parent 45d684f commit 56e39d4
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,12 @@ jobs:
version: ${{ matrix.version }}
- name: Neovim version
run: nvim --version
# TODO: figure out how to avoid duplicate setups
- name: For CI
- name: Bootstrap plenary
run: |
mkdir -p ~/.local/share/nvim/site/pack/vendor/start
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ~/.local/share/nvim/site/pack/vendor/start/plenary.nvim
git clone --depth 1 https://github.com/nvim-treesitter/nvim-treesitter ~/.local/share/nvim/site/pack/vendor/start/nvim-treesitter
git clone --depth 1 https://github.com/nvim-neotest/neotest.git ~/.local/share/nvim/site/pack/vendor/start/neotest
git clone --depth 1 https://github.com/nvim-neotest/nvim-nio.git ~/.local/share/nvim/site/pack/vendor/start/nvim-nio
ln -s $(pwd) ~/.local/share/nvim/site/pack/vendor/start
nvim --headless -c 'TSInstallSync lua go | quit'
- name: For local neotest-plenary setup
- name: Install dependencies
run: ./test/install.sh
- name: Run tests
run: nvim --headless -c "PlenaryBustedDirectory test {minimal_init = 'test/minimal_init.lua', sequential = true}"

0 comments on commit 56e39d4

Please sign in to comment.