Fix issues around whitespace after dot completions, fixes #1954 #452
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci | |
| on: [push, pull_request, workflow_dispatch] | |
| jobs: | |
| tests: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-24.04, windows-2022] | |
| python-version: ["3.14", "3.13", "3.12", "3.11", "3.10"] | |
| environment: ['3.14', '3.13', '3.12', '3.11', '3.10', 'interpreter'] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - uses: actions/setup-python@v5 | |
| if: ${{ matrix.environment != 'interpreter' }} | |
| with: | |
| python-version: ${{ matrix.environment }} | |
| allow-prereleases: true | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| allow-prereleases: true | |
| - name: Install dependencies | |
| run: 'pip install .[dev]' | |
| - name: Run tests | |
| run: python -m pytest | |
| env: | |
| JEDI_TEST_ENVIRONMENT: ${{ matrix.environment }} | |
| code-quality: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install dependencies | |
| run: 'pip install .[dev]' | |
| - name: Run tests | |
| run: | | |
| python -m flake8 jedi test setup.py | |
| zuban check | |
| coverage: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install dependencies | |
| run: 'pip install .[dev] coverage' | |
| - name: Run tests | |
| run: | | |
| python -m coverage run --source jedi -m pytest | |
| python -m coverage report | |
| - name: Upload coverage data | |
| run: | | |
| pip install --quiet codecov coveralls | |
| python -m coverage xml | |
| python -m coverage report -m | |
| bash <(curl -s https://codecov.io/bash) -X gcov -X coveragepy -X search -X fix -X xcode -f coverage.xml |