Skip to content

Commit

Permalink
added test setup for netbox v3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi1693 committed Jan 3, 2024
1 parent 5b3551f commit 7deee2b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/py3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11"]
netbox: ["3.3", "3.4", "3.5", "3.6"]
netbox: ["3.3", "3.4", "3.5", "3.6", "3.7"]

steps:
- uses: actions/checkout@v4
Expand Down
7 changes: 3 additions & 4 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
black~=22.10
pytest==7.1.*
pytest-docker==1.0.*
PyYAML==6.0.1
black
pytest
pytest-docker
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from packaging import version


DEFAULT_NETBOX_VERSIONS = "3.6"
DEFAULT_NETBOX_VERSIONS = "3.7"


def pytest_addoption(parser):
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ def get_netbox_docker_version_tag(netbox_version):
tag = "2.6.1"
elif (major, minor) == (3, 6):
tag = "2.7.0"
elif (major, minor) == (3, 7):
tag = "2.8.0"
else:
raise NotImplementedError(
"Version %s is not currently supported" % netbox_version
Expand Down

0 comments on commit 7deee2b

Please sign in to comment.