Skip to content

Commit

Permalink
Fix pip not allowing install outside a virtual env
Browse files Browse the repository at this point in the history
  • Loading branch information
bstaletic committed Aug 31, 2024
1 parent 8e29415 commit c52eda1
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -66,20 +66,19 @@ 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:
java-version: 17
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
Expand Down

0 comments on commit c52eda1

Please sign in to comment.