Bump linter syntax to 3.10 and switch to furo. #30
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: build | |
| on: [push, pull_request, workflow_dispatch] | |
| jobs: | |
| test: | |
| name: ${{ matrix.name }} | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 30 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: 'check' | |
| python: '3.13' | |
| tox_env: 'check' | |
| os: 'ubuntu-latest' | |
| - name: 'docs' | |
| python: '3.13' | |
| tox_env: 'docs' | |
| os: 'ubuntu-latest' | |
| - name: 'py310-cover (ubuntu/x64)' | |
| python: '3.10' | |
| python_arch: 'x64' | |
| tox_env: 'py310-cover' | |
| os: 'ubuntu-latest' | |
| cover: true | |
| - name: 'py310-nocov (ubuntu/x64)' | |
| python: '3.10' | |
| python_arch: 'x64' | |
| tox_env: 'py310-nocov' | |
| os: 'ubuntu-latest' | |
| - name: 'py311-cover (ubuntu/x64)' | |
| python: '3.11' | |
| python_arch: 'x64' | |
| tox_env: 'py311-cover' | |
| os: 'ubuntu-latest' | |
| cover: true | |
| - name: 'py311-nocov (ubuntu/x64)' | |
| python: '3.11' | |
| python_arch: 'x64' | |
| tox_env: 'py311-nocov' | |
| os: 'ubuntu-latest' | |
| - name: 'py312-cover (ubuntu/x64)' | |
| python: '3.12' | |
| python_arch: 'x64' | |
| tox_env: 'py312-cover' | |
| os: 'ubuntu-latest' | |
| cover: true | |
| - name: 'py312-nocov (ubuntu/x64)' | |
| python: '3.12' | |
| python_arch: 'x64' | |
| tox_env: 'py312-nocov' | |
| os: 'ubuntu-latest' | |
| - name: 'py313-cover (ubuntu/x64)' | |
| python: '3.13' | |
| python_arch: 'x64' | |
| tox_env: 'py313-cover' | |
| os: 'ubuntu-latest' | |
| cover: true | |
| - name: 'py313-nocov (ubuntu/x64)' | |
| python: '3.13' | |
| python_arch: 'x64' | |
| tox_env: 'py313-nocov' | |
| os: 'ubuntu-latest' | |
| - name: 'py314-cover (ubuntu/x64)' | |
| python: '3.14' | |
| python_arch: 'x64' | |
| tox_env: 'py314-cover' | |
| os: 'ubuntu-latest' | |
| cover: true | |
| - name: 'py314-nocov (ubuntu/x64)' | |
| python: '3.14' | |
| python_arch: 'x64' | |
| tox_env: 'py314-nocov' | |
| os: 'ubuntu-latest' | |
| - name: 'pypy310-cover (ubuntu/x64)' | |
| python: 'pypy-3.10' | |
| python_arch: 'x64' | |
| tox_env: 'pypy310-cover' | |
| os: 'ubuntu-latest' | |
| cover: true | |
| - name: 'pypy310-nocov (ubuntu/x64)' | |
| python: 'pypy-3.10' | |
| python_arch: 'x64' | |
| tox_env: 'pypy310-nocov' | |
| os: 'ubuntu-latest' | |
| - name: 'pypy311-cover (ubuntu/x64)' | |
| python: 'pypy-3.11' | |
| python_arch: 'x64' | |
| tox_env: 'pypy311-cover' | |
| os: 'ubuntu-latest' | |
| cover: true | |
| - name: 'pypy311-nocov (ubuntu/x64)' | |
| python: 'pypy-3.11' | |
| python_arch: 'x64' | |
| tox_env: 'pypy311-nocov' | |
| os: 'ubuntu-latest' | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| architecture: ${{ matrix.python_arch }} | |
| - name: install redis-server | |
| run: sudo apt-get install -y valkey-server | |
| - name: install dependencies | |
| run: | | |
| python -mpip install --progress-bar=off -r ci/requirements.txt | |
| virtualenv --version | |
| pip --version | |
| tox --version | |
| pip list --format=freeze | |
| - name: test | |
| run: > | |
| tox -e ${{ matrix.tox_env }} -v | |
| - uses: coverallsapp/github-action@v2 | |
| if: matrix.cover | |
| continue-on-error: true | |
| with: | |
| flag-name: ${{ matrix.name }} | |
| parallel: true | |
| - uses: codecov/codecov-action@v5 | |
| if: matrix.cover | |
| with: | |
| flags: ${{ matrix.name }} | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| verbose: true | |
| finish: | |
| needs: test | |
| if: ${{ always() }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: coverallsapp/github-action@v2 | |
| with: | |
| parallel-finished: true |