This repository was archived by the owner on Jul 5, 2026. It is now read-only.
build(deps-dev): bump mkdocs-macros-plugin from 1.3.7 to 1.3.9 #270
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: Run Python linters and tests | |
| on: | |
| pull_request: | |
| paths: | |
| - '**/*.py' | |
| - 'poetry.lock' | |
| - 'pyproject.toml' | |
| - '.github/workflows/python-check.yml' | |
| branches: | |
| - master | |
| - dev | |
| - release/* | |
| jobs: | |
| lint: | |
| name: Run Python linters | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
| poetry-version: ["1.8.5"] | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v5 | |
| - name: "Install Poetry ${{matrix.poetry-version}}" | |
| run: pipx install poetry==${{matrix.poetry-version}} | |
| - name: "Setup Python ${{matrix.python-version}}" | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{matrix.python-version}} | |
| cache: 'poetry' | |
| - name: "Install dependencies" | |
| run: make install | |
| - name: "Run flake8" | |
| run: make flake | |
| - name: "Run mypy" | |
| run: make mypy | |
| - name: "Run black lint" | |
| run: make black-lint | |
| - name: "Run Poetry check" | |
| run: make poetry-check | |
| test: | |
| name: Run Python tests | |
| runs-on: ${{matrix.os}} | |
| strategy: | |
| matrix: | |
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
| poetry-version: ["1.8.5"] | |
| browser: ["chromium", "firefox", "webkit"] | |
| os: ["ubuntu-latest", "windows-latest", "macos-latest"] | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v5 | |
| - name: "Install Poetry ${{matrix.poetry-version}}" | |
| run: pipx install poetry==${{matrix.poetry-version}} | |
| - name: "Setup Python ${{matrix.python-version}}" | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{matrix.python-version}} | |
| cache: "poetry" | |
| - name: Install dependencies | |
| run: make install | |
| - name: "Install ${{matrix.browser}} dependencies" | |
| run: make browser-install browser=${{matrix.browser}} | |
| - name: "Run pytest" | |
| run: make test browser=${{matrix.browser}} | |
| - name: "Upload coverage reports to Codecov" | |
| if: matrix.python-version == '3.13' && matrix.os == 'ubuntu-latest' && matrix.browser == 'chromium' && github.actor != 'dependabot[bot]' | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} |