fix: OBS-416 - add change_id to the response with errors in apply-change-set API endpoint #44
Workflow file for this run
This file contains 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 Netbox plugin - lint | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- "diode-netbox-plugin/**" | |
push: | |
branches: | |
- "!release" | |
paths: | |
- "diode-netbox-plugin/**" | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ] | |
defaults: | |
run: | |
working-directory: diode-netbox-plugin | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install . | |
pip install .[dev] | |
pip install .[test] | |
- name: Lint with Ruff | |
run: | | |
ruff --output-format=github netbox_diode_plugin/ tests/ | |
continue-on-error: true |