Skip to content

Run the test suite on FreeBSD VMs on GitHub Actions - #12

Closed
gronke wants to merge 2 commits into
mainfrom
ci/freebsd-vm
Closed

Run the test suite on FreeBSD VMs on GitHub Actions#12
gronke wants to merge 2 commits into
mainfrom
ci/freebsd-vm

Conversation

@gronke

@gronke gronke commented Jul 8, 2026

Copy link
Copy Markdown
Owner

The project never had working CI; this runs the test suite inside real FreeBSD VMs on every push and pull request.

  • The test matrix boots FreeBSD 14.4-RELEASE and 15.1-RELEASE under QEMU through the composite actions from gronke/freebsd-ci, pinned to a commit until a versioned tag exists.
  • The guest installs python, freebsd-sysctl, pip and pytest from packages, installs the library through pip and runs the whole suite — proving that the package installs again since use setup.cfg to reduce boilerplate #9.
  • A build job packages the sdist and wheel on Linux and validates the metadata with twine.
  • FreeBSD 15 no longer accepts ifconfig addresses without a netmask; the two affected tests now pass explicit masks, and the full suite is green on both releases.
  • Closes Test Automation #2 and supersedes add cirrus & travis tests #4 by @igalic, whose Travis and Cirrus setup predates GitHub Actions.

gronke added 2 commits July 8, 2026 06:29
The test-freebsd matrix boots 14.4-RELEASE and 15.1-RELEASE through the gronke/freebsd-ci composite actions, pinned to a commit until a versioned tag exists.
The guest installs the dependencies from packages and the library through pip, which also proves that the package installs after the metadata move from #9.
A build job packages the distribution on Linux and validates the metadata with twine.
FreeBSD 15 removed the default mask: setting an interface address without one fails with an error since ifconfig no longer supports it.
The first address carries the /24 of the test network and the further alias in the same subnet uses a host mask.
@gronke gronke closed this Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test Automation

1 participant