Skip to content

Conversation

@aleivag
Copy link
Collaborator

@aleivag aleivag commented Jan 10, 2026

Set up end-to-end testing that runs pystemd inside a real systemd environment using mkosi to build Fedora container images.

  • Add mkosi.conf for building test images with configurable Python versions
  • Add mkosi.build.chroot to install pystemd and dependencies via uv
  • Add GitHub Actions workflow to run E2E tests across Python 3.10-3.14
  • Add e2e/test_e2e.py with initial test cases
  • Add E2E_TESTING.md with documentation
  • Update .gitignore for mkosi generated files

The tests run inside a systemd-nspawn container, allowing us to test pystemd against real systemd APIs rather than mocked interfaces.

@aleivag aleivag force-pushed the add-e2e-tests branch 14 times, most recently from 17f6239 to 6eec907 Compare January 12, 2026 18:49
Set up end-to-end testing that runs pystemd inside a real systemd
environment using mkosi to build Fedora container images.

- Add mkosi.conf for building test images with configurable Python versions
- Add mkosi.build.chroot to install pystemd and dependencies via uv
- Add GitHub Actions workflow to run E2E tests across Python 3.10-3.14
- Add e2e/test_e2e.py with initial test cases
- Add E2E_TESTING.md with documentation
- Update .gitignore for mkosi generated files

The tests run inside a systemd-nspawn container, allowing us to test
pystemd against real systemd APIs rather than mocked interfaces.
@aleivag aleivag marked this pull request as ready for review January 12, 2026 19:36
@aleivag aleivag merged commit e174ceb into systemd:main Jan 12, 2026
12 of 39 checks passed
@aleivag aleivag deleted the add-e2e-tests branch January 12, 2026 19:38
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.

1 participant