neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 05dd41f3e911b18b9e48180715a37abbb02266d0
parent 747e84a256036927585ce07d1162ef7ab73d4fd2
Author: James McCoy <jamessan@jamessan.com>
Date:   Tue, 26 Nov 2024 15:27:52 -0500

ci(test): remove the .git directory for Linux

Tests should not rely on being run inside a git clone, so the Linux
builds cover this use case. The macOS builds will continue running with
the .git directory so there's still unix-ish coverage within a git
clone.

Diffstat:
M.github/workflows/test.yml | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml @@ -145,6 +145,10 @@ jobs: sudo cpanm -n Neovim::Ext || cat "$HOME/.cpanm/build.log" perl -W -e 'use Neovim::Ext; print $Neovim::Ext::VERSION' + - name: Remove .git directory + if: ${{ matrix.build.os == 'ubuntu' }} + run: cmake -E rm -rf -- .git + - name: Build third-party deps run: | cmake -S cmake.deps --preset ci -D CMAKE_BUILD_TYPE=Debug ${{ matrix.build.deps_flags }}