docs: правило о формулировках BABOK и IIBA, и тест, который его стережёт #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: | |
| branches: [main, ru] | |
| pull_request: | |
| branches: [main, ru] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| pytest: | |
| name: ${{ matrix.os }} / Python ${{ matrix.python }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| # Падение на одной версии не должно скрывать результат остальных: | |
| # нужно знать, сломано везде или только в одной комбинации. | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| python: "3.10" | |
| - os: ubuntu-latest | |
| python: "3.14" | |
| - os: windows-latest | |
| python: "3.14" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| cache: pip | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements-dev.txt | |
| - name: Run tests | |
| run: pytest tests -q |