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

Merged
christianmanivong merged 1 commits from ci/workflow into master 2026-10-07 06:29:45 +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.

  • pyproject.toml gains a dev extra with pytest, which the job installs.
  • napalm-linux, which this driver builds on, is installed from git as well: it is not on PyPI either.

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. - `pyproject.toml` gains a `dev` extra with pytest, which the job installs. - napalm-linux, which this driver builds on, is installed from git as well: it is not on PyPI either. 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:06 +00:00
ci: run the tests and build the package on every push and pull request
CI / test (3.10) (push) Successful in 28s
CI / test (3.11) (push) Successful in 27s
CI / test (3.12) (push) Successful in 29s
CI / test (3.10) (pull_request) Successful in 28s
CI / test (3.11) (pull_request) Successful in 27s
CI / test (3.12) (pull_request) Successful in 29s
ca03b6dd99
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.

napalm-linux, which this driver builds on, is installed from git as well:
it is not on PyPI either.
christianmanivong merged commit 5742349742 into master 2026-10-07 06:29:45 +00:00
christianmanivong deleted branch ci/workflow 2026-10-07 06:29:45 +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-openmediavault#2