ci: run the tests and build the package on every push and pull request #16

Merged
christianmanivong merged 1 commits from ci/workflow into main 2026-10-07 06:22:15 +00:00
Owner

Adds .github/workflows/ci.yml, the same job as napalm-fritzbox and napalm-opnsense: on every push and pull request, Python 3.10, 3.11 and 3.12, pytest, then wheel and sdist (upload-artifact@v3; v4 does not run on Gitea). napalm-device-types is installed from git.netork.io first, because PyPI has an unrelated package of that name.

  • This is the package the other drivers install from git first. Here it installs itself.

The job was reproduced locally before this PR (fresh venv, Python 3.10 and 3.12, package build): green.

Adds `.github/workflows/ci.yml`, the same job as napalm-fritzbox and napalm-opnsense: on every push and pull request, Python 3.10, 3.11 and 3.12, `pytest`, then wheel and sdist (`upload-artifact@v3`; v4 does not run on Gitea). napalm-device-types is installed from git.netork.io first, because PyPI has an unrelated package of that name. - This is the package the other drivers install from git first. Here it installs itself. The job was reproduced locally before this PR (fresh venv, Python 3.10 and 3.12, package build): green.
christianmanivong added 1 commit 2026-10-07 05:53:03 +00:00
ci: run the tests and build the package on every push and pull request
CI / test (3.10) (push) Successful in 29s
CI / test (3.11) (push) Successful in 28s
CI / test (3.12) (push) Successful in 27s
CI / test (3.10) (pull_request) Successful in 24s
CI / test (3.11) (pull_request) Successful in 25s
CI / test (3.12) (pull_request) Successful in 26s
bd43bd75fa
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.

This is the package the other drivers install from git first; here it
installs itself.
christianmanivong merged commit 08ec32e93a into main 2026-10-07 06:22:15 +00:00
christianmanivong deleted branch ci/workflow 2026-10-07 06:22:15 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NAPALM/napalm-device-types#16