diff options
-rwxr-xr-x | .github/scripts/install_deps.sh | 6 | ||||
-rw-r--r-- | .github/workflows/test.yml | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/.github/scripts/install_deps.sh b/.github/scripts/install_deps.sh index 2b8335f192..66f418eb10 100755 --- a/.github/scripts/install_deps.sh +++ b/.github/scripts/install_deps.sh @@ -31,11 +31,17 @@ if [[ $os == Linux ]]; then if [[ -n $TEST ]]; then sudo apt-get install -y locales-all cpanminus attr libattr1-dev gdb fswatch + + # Use default CC to avoid compilation problems when installing Python modules + CC=cc python3 -m pip -q install --user --upgrade pynvim fi elif [[ $os == Darwin ]]; then brew update --quiet brew install ninja if [[ -n $TEST ]]; then brew install cpanminus fswatch + + # Use default CC to avoid compilation problems when installing Python modules + CC=cc python3 -m pip -q install --user --upgrade --break-system-packages pynvim fi fi diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 622304512e..d7af975748 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -134,10 +134,6 @@ jobs: - if: ${{ matrix.test != 'unittest' }} name: Set up interpreter packages run: | - # Use default CC to avoid compilation problems when installing Python modules. - echo "Install neovim module for Python." - CC=cc python3 -m pip -q install --user --upgrade pynvim - echo "Install neovim RubyGem." gem install --no-document --bindir "$BIN_DIR" --user-install --pre neovim |