Add support for NetBox v3.6 #89
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: CI | |
on: | |
push: | |
pull_request: | |
# This ensures that previous jobs for the workflow are canceled when the ref is | |
# updated. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: Checks syntax | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
# Full git history is needed to get a proper list of changed files within `super-linter` | |
fetch-depth: 0 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Lint Code Base | |
uses: github/super-linter/slim@v4 | |
env: | |
DEFAULT_BRANCH: dev | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SUPPRESS_POSSUM: true | |
LINTER_RULES_PATH: / | |
VALIDATE_ALL_CODEBASE: false | |
VALIDATE_DOCKERFILE: false | |
VALIDATE_JSCPD: true | |
FILTER_REGEX_EXCLUDE: (.*/)?(configuration/.*) | |
PYTHON_BLACK_CONFIG_FILE: pyproject.toml | |
PYTHON_FLAKE8_CONFIG_FILE: pyproject.toml | |
PYTHON_ISORT_CONFIG_FILE: pyproject.toml | |
test: | |
runs-on: ubuntu-latest | |
name: Runs plugin tests | |
steps: | |
- id: git-checkout | |
name: Checkout | |
uses: actions/checkout@v3 | |
- id: docker-test | |
name: Test the image | |
run: ./test.sh |