Repository navigation
Fix rename edits inserting before single-line files #1193
Workflow file for this run
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: Linux tests | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| pull_request: | |
| branches: | |
| - '*' | |
| concurrency: | |
| group: test-linux-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Linux Py${{ matrix.PYTHON_VERSION }} | |
| runs-on: ubuntu-latest | |
| env: | |
| CI: 'true' | |
| OS: 'linux' | |
| PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| PYTHON_VERSION: ['3.14', '3.13', '3.12', '3.11', '3.10', '3.9'] | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/cache@v6 | |
| with: | |
| path: ~/.cache/pip | |
| key: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip-${{ hashFiles('pyproject.toml') }} | |
| restore-keys: ${{ runner.os }}-${{ matrix.PYTHON_VERSION }}-pip- | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.PYTHON_VERSION }} | |
| architecture: 'x64' | |
| - name: Create Jedi environment for testing | |
| run: | | |
| python3 -m venv /tmp/pyenv | |
| /tmp/pyenv/bin/python -m pip install loghub | |
| - run: python -m pip install --upgrade pip setuptools | |
| - run: pip install -e .[all,test] | |
| - name: Show test environment | |
| run: pip list | |
| - run: pytest --color=yes -v test/ | |
| # Enable this if SSH debugging is required | |
| # - name: Setup tmate session | |
| # uses: mxschmitt/action-tmate@v3 | |
| # if: ${{ failure() }} |