Skip to content

Commit a0a898c

Browse files
rodvandKenneth Joss
authored and
Kenneth Joss
committed
Add NetBox 4.2 to CI (netbox-community#1366)
* Add NetBox 4.2 to CI * Adjust build * Add no-root to poetry * Remove unused tests * Update ansible-version * Update python * Update python for integration tests * Adjust coverage version
1 parent d435a37 commit a0a898c

File tree

331 files changed

+2176
-42551
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

331 files changed

+2176
-42551
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
uses: psf/black@stable
1717

1818
unit_testing:
19-
runs-on: ubuntu-20.04
19+
runs-on: ubuntu-24.04
2020
needs: linting
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
python-version: ["3.10", "3.11"]
24+
python-version: ["3.13"]
2525

2626
steps:
2727

@@ -39,7 +39,7 @@ jobs:
3939
virtualenvs-create: false
4040

4141
- name: Install Python packages
42-
run: poetry install
42+
run: poetry install --no-root
4343

4444
- name: Build and install collection
4545
run: |
@@ -62,17 +62,17 @@ jobs:
6262
runs-on: ubuntu-latest
6363
needs: unit_testing
6464
env:
65-
python-version: "3.12"
65+
python-version: "3.13"
6666
strategy:
6767
fail-fast: false
6868
matrix:
69-
include:
70-
- VERSION: "v3.7"
71-
NETBOX_DOCKER_VERSION: 2.7.0
69+
include:
7270
- VERSION: "v4.0"
7371
NETBOX_DOCKER_VERSION: 2.9.1
7472
- VERSION: "v4.1"
7573
NETBOX_DOCKER_VERSION: 3.0.1
74+
- VERSION: "v4.2"
75+
NETBOX_DOCKER_VERSION: 3.1.0
7676

7777
steps:
7878

@@ -101,7 +101,7 @@ jobs:
101101
virtualenvs-create: false
102102

103103
- name: Install Python packages
104-
run: poetry install
104+
run: poetry install --no-root
105105

106106
- name: Build and install collection
107107
run: |

poetry.lock

Lines changed: 1042 additions & 1012 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ authors = ["Mikhail Yohman <[email protected]>"]
66
license = "GPLv3"
77

88
[tool.poetry.dependencies]
9-
python = "^3.10"
10-
ansible-core = "^2.17"
9+
python = "^3.13"
10+
ansible-core = "^2.18"
1111
black = "*"
1212
codecov = "*"
13-
coverage = "7.3.2"
13+
coverage = "7.6.1"
1414
deepdiff = "*"
1515
cryptography = "*"
1616
jinja2 = "*"
@@ -28,7 +28,7 @@ pylint = "*"
2828
pytz = "*"
2929
packaging = "*"
3030
importlib-resources = "*"
31-
antsibull-docs = "^2.11.0"
31+
antsibull-docs = "*"
3232

3333
[tool.poetry.dev-dependencies]
3434

0 commit comments

Comments
 (0)