NiFi: updated processors to use new relationship definitions. #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: python-quality | |
| on: | |
| push: | |
| branches: ['**'] | |
| paths: | |
| - "pyproject.toml" | |
| - "nifi/requirements.txt" | |
| - "nifi/requirements-dev.txt" | |
| - "nifi/**/*.py" | |
| - "scripts/**/*.py" | |
| - "typings/**/*.pyi" | |
| - ".github/workflows/python_quality.yml" | |
| pull_request: | |
| paths: | |
| - "pyproject.toml" | |
| - "nifi/requirements.txt" | |
| - "nifi/requirements-dev.txt" | |
| - "nifi/**/*.py" | |
| - "scripts/**/*.py" | |
| - "typings/**/*.pyi" | |
| - ".github/workflows/python_quality.yml" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| quality: | |
| name: Ruff + MyPy | |
| runs-on: ubuntu-22.04 | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.11" | |
| - name: Install uv | |
| run: | | |
| python -m pip install --upgrade pip uv | |
| - name: Install requirements with uv | |
| run: | | |
| uv pip install --system -r nifi/requirements.txt -r nifi/requirements-dev.txt | |
| - name: Ruff (critical rules) | |
| run: | | |
| python -m ruff check scripts nifi/user_python_extensions --select F,E9 | |
| - name: MyPy | |
| run: | | |
| python -m mypy --config-file pyproject.toml nifi/user_python_extensions scripts |