diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 85070d98e..e0078e1f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,6 +102,9 @@ jobs: - name: Validate Static Asset Integrity run: scripts/verify-bundles.sh + - name: Check for changes to OpenAPI schema + run: scripts/verify-openapi.sh + - name: Run tests run: coverage run --source="netbox/" netbox/manage.py test netbox/ --parallel diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 875dca523..12f2c8172 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,14 +21,6 @@ repos: language: system pass_filenames: false types: [python] - - id: openapi-check - name: "Validate OpenAPI schema" - description: "Check for any unexpected changes to the OpenAPI schema" - files: api/.*\.py$ - entry: scripts/verify-openapi.sh - language: system - pass_filenames: false - types: [python] - id: mkdocs-build name: "Build documentation" description: "Build the documentation with mkdocs"