diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88cf12c21..1985b777f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,7 +52,7 @@ jobs: strategy: fail-fast: false matrix: - vim: [ 'new', 'old' ] + vim: [ 'recommended', 'ubuntu' ] arch: [ 'x86_64' ] runs-on: ubuntu-20.04 container: 'youcompleteme/ycm-vim-${{ matrix.arch }}-py3:test' @@ -66,7 +66,7 @@ jobs: submodules: recursive fetch-depth: 0 - name: Install dependencies - run: sudo -H pip3 install -r python/test_requirements.txt + run: sudo -H pip3 install --break-system-packages -r python/test_requirements.txt - name: Install Java uses: actions/setup-java@v4 with: @@ -74,12 +74,11 @@ jobs: distribution: 'temurin' - name: Build ycmd run: python3 ./install.py --force-sudo --ts-completer --clangd-completer --java-completer - - name: Run tests in old vim - # System vim should be oldest supported. - if: matrix.vim == 'old' + - name: Run tests in Ubuntu default vim + if: matrix.vim == 'ubuntu' run: ./test/run_vim_tests --vim /usr/bin/vim - - name: Run tests in new vim - if: matrix.vim == 'new' + - name: Run tests in recommended vim + if: matrix.vim == 'recommended' run: ./test/run_vim_tests - name: Combine and summarise coverage run: coverage combine && coverage xml