mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
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.
This commit is contained in:
parent
747e84a256
commit
05dd41f3e9
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -145,6 +145,10 @@ jobs:
|
|||||||
sudo cpanm -n Neovim::Ext || cat "$HOME/.cpanm/build.log"
|
sudo cpanm -n Neovim::Ext || cat "$HOME/.cpanm/build.log"
|
||||||
perl -W -e 'use Neovim::Ext; print $Neovim::Ext::VERSION'
|
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
|
- name: Build third-party deps
|
||||||
run: |
|
run: |
|
||||||
cmake -S cmake.deps --preset ci -D CMAKE_BUILD_TYPE=Debug ${{ matrix.build.deps_flags }}
|
cmake -S cmake.deps --preset ci -D CMAKE_BUILD_TYPE=Debug ${{ matrix.build.deps_flags }}
|
||||||
|
Loading…
Reference in New Issue
Block a user