ci: run the tests and build the package on every push and pull request
CI / test (3.10) (push) Successful in 27s
CI / test (3.11) (push) Successful in 35s
CI / test (3.12) (push) Successful in 38s
CI / test (3.10) (pull_request) Successful in 24s
CI / test (3.11) (pull_request) Successful in 23s
CI / test (3.12) (pull_request) Successful in 25s

The same job as napalm-fritzbox and napalm-opnsense: Python 3.10, 3.11 and
3.12, pytest, then wheel and sdist. napalm-device-types comes from
git.netork.io first, because PyPI has an unrelated package of that name.

pyproject gains a dev extra with pytest, which the job installs.
This commit is contained in:
Christian Manivong committed 2026-10-07 07:52:44 +02:00
1 parent 33d07bed58
commit a7a8b2080c
2 files changed
+51

No files matched your search

+3
View File
@@ -13,6 +13,9 @@ dependencies = [
"requests",
]
[project.optional-dependencies]
dev = ["pytest"]
[project.entry-points."napalm.drivers"]
yealink = "napalm_yealink:YealinkDriver"