Skip to content

fix(deps): update non-major python dependencies #258

fix(deps): update non-major python dependencies

fix(deps): update non-major python dependencies #258

Workflow file for this run

name: Test & Lint
on:
- push
- pull_request
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13", "3.14"]
services:
netbox:
image: netboxcommunity/netbox:latest
env:
SKIP_SUPERUSER: true
ports:
- 8000:8080
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install the latest version of uv and set the python version
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --all-groups
- name: Run ruff linter
run: uv run ruff check .
- name: Run ruff formatter
run: uv run ruff format --check .
- name: Run pytest
run: uv run pytest -v
env:
NETBOX_URL: http://localhost:8000
NETBOX_TOKEN: ${{ secrets.NETBOX_TOKEN }}