Skip to content

Commit

Permalink
ci: disable empty test run
Browse files Browse the repository at this point in the history
  • Loading branch information
miikanissi committed Jan 27, 2025
1 parent e673a50 commit d67e9ef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,9 @@ jobs:
echo "$newfiles"
exit 1
fi
tests:
runs-on: ubuntu-latest
needs: pre-commit
steps:
- uses: actions/checkout@v4
- name: Install Neovim
shell: bash
run: |
mkdir -p /tmp/nvim
wget -q https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage -O /tmp/nvim/nvim.appimage
cd /tmp/nvim
chmod a+x ./nvim.appimage
./nvim.appimage --appimage-extract
echo "/tmp/nvim/squashfs-root/usr/bin/" >> $GITHUB_PATH
- name: Run Tests
run: ./scripts/tests.sh
extras:
runs-on: ubuntu-latest
needs:
- tests
- pre-commit
if: ${{ github.ref == 'refs/heads/master' }}
steps:
Expand Down Expand Up @@ -78,7 +61,6 @@ jobs:
runs-on: ubuntu-latest
needs:
- pre-commit
- tests
- extras
if: ${{ github.ref == 'refs/heads/master' }}
permissions:
Expand Down
2 changes: 0 additions & 2 deletions tests/minit.lua
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
#!/usr/bin/env -S nvim -l

vim.env.LAZY_STDPATH = ".tests"
vim.env.LAZY_PATH = vim.fs.normalize("~/projects/lazy.nvim")
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

-- Setup lazy
require("lazy.minit").setup({
spec = {
{
dir = vim.uv.cwd(),
opts = {},
},
},
})

0 comments on commit d67e9ef

Please sign in to comment.