Like is done here: https://github.com/giampaolo/psutil/blob/master/.github/workflows/bsd.yml Do not forget to fix the *BSD version, example for FreeBSD: - https://github.com/vmactions/freebsd-vm?tab=readme-ov-file - https://github.com/vmactions/freebsd-vm/tree/main/conf