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

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

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. 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:09 +00:00
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
a7a8b2080c
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.
christianmanivong merged commit e80e3051fb into master 2026-10-07 06:44:18 +00:00
christianmanivong deleted branch ci/workflow 2026-10-07 06:44:18 +00:00
Sign in to join this conversation.