fix: readme - compatibility plugin version #36
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: Lint and tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- "!release" | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: false | |
permissions: | |
contents: write | |
checks: write | |
pull-requests: write | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
python: [ "3.10" ] | |
steps: | |
- name: Checkout | |
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 check --output-format=github netbox_diode_plugin/ | |
continue-on-error: true | |
- name: Test | |
run: | | |
make docker-compose-netbox-plugin-test-cover | |
- name: Coverage comment | |
uses: orgoro/[email protected] | |
with: | |
coverageFile: ./docker/coverage/report.xml | |
token: ${{ secrets.GITHUB_TOKEN }} | |