docs/readme en 20250910064405 #46
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| linux: | |
| name: linux (py=${{ matrix.python-version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.11","3.12"] | |
| env: | |
| PYTHONPATH: src | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - run: python -m pip install -U pip | |
| - run: pip install ruff black pytest mypy | |
| - run: ruff check . | |
| - run: black --check . | |
| - run: pytest -q | |
| - run: mypy . | |
| windows_optional: | |
| name: windows (optional) | |
| runs-on: windows-latest | |
| continue-on-error: true | |
| env: | |
| PYTHONPATH: src | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - run: python -m pip install -U pip | |
| - run: pip install ruff black pytest mypy | |
| - run: ruff check . | |
| - run: black --check . | |
| - run: pytest -q | |
| - run: mypy . |