Skip to content

Comments

Add GitHub actions#80

Merged
dupremathieu merged 3 commits intomainfrom
ci
Feb 19, 2026
Merged

Add GitHub actions#80
dupremathieu merged 3 commits intomainfrom
ci

Conversation

@dupremathieu
Copy link
Member

  • add a GitHub action that check if the code is properly formatted and run the Python linter flake8
  • fix flake8 issues
  • add tests

@dupremathieu
Copy link
Member Author

This PR is base on top of #79 and require #79 to be merged first.

insatomcat
insatomcat previously approved these changes Feb 19, 2026
dupremathieu and others added 3 commits February 19, 2026 15:21
Run black formatting check and flake8 linting via cqfd on pushes
and pull requests to main.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Mathieu Dupré <mathieu.dupre@savoirfairelinux.com>
Signed-off-by: Mathieu Dupré <mathieu.dupre@savoirfairelinux.com>
Add real (non-mocked) pytest tests for standalone mode running against
qemu:///system. Tests cover LibVirtManager helpers and the public
vm_manager_libvirt API (create, remove, start, stop, status, autostart).

- Add tests/conftest.py with shared fixtures (vm_name, libvirt_conn)
- Add tests/test_libvirt_manager.py (10 tests)
- Add tests/test_vm_manager_libvirt.py (12 tests)
- Add CI test job with libvirt + QEMU on Ubuntu 24.04
- Add pytest as optional test dependency
- Use qemu64 CPU model in testdata XML for CI portability

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Mathieu Dupré <mathieu.dupre@savoirfairelinux.com>
@sonarqubecloud
Copy link

@dupremathieu
Copy link
Member Author

The rebase has removed the approval @insatomcat

@dupremathieu dupremathieu merged commit ddab5f0 into main Feb 19, 2026
5 checks passed
@dupremathieu dupremathieu deleted the ci branch February 19, 2026 16:51
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.

2 participants