add basic .editorconfig #11
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: Tests | |
| on: | |
| push: | |
| pull_request: | |
| env: | |
| UV_PYTHON_PREFERENCE: only-system | |
| UV_NO_SYNC: 1 | |
| jobs: | |
| run: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ ubuntu-latest ] | |
| python-version: [ "3.11", "3.12", "3.13", "3.14" ] | |
| sphinx-version: [ "7.3", "7.4", "8.1", "8.2" ] | |
| name: Python ${{ matrix.python-version }}, Sphinx ${{ matrix.sphinx-version }} | |
| steps: | |
| - name: Acquire sources | |
| uses: actions/[email protected] | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Python | |
| uses: actions/[email protected] | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| architecture: x64 | |
| - name: Install uv | |
| uses: astral-sh/[email protected] | |
| with: | |
| enable-cache: true | |
| - name: Install dependencies | |
| run: uv sync --no-default-groups --group=dev --group Sphinx${{ matrix.sphinx-version }} | |
| - name: Run tests | |
| run: uv run pytest -v --cov-report term-missing --durations=20 |