6 Commits

Author SHA1 Message Date
Michael Osthege
be0ab5e297 Run tests after merging
Previously tests did not run after merging.

This lead to incompatible changes being merged right after one another.

By running tests on main we will notice breaks earlier.

Other options would be to require every PR to rebase on main before merging.
This is known as requiring linear history and can be changed in the project settings.
2024-10-10 13:52:45 +02:00
Bobby Noelte
65044b6c6c Add test for server
A test fixture to start the server and a first test case is added.

The fixture tries to assure that the server is installed and running.
If it is not installed the fixture uses pip to install it.

The server and the installation by pip is run bei the same Python
executable that also runs pytest.

The github workflow for pytest is adapted to install akkudoktor-eos.

Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
2024-10-08 19:22:16 +02:00
Sebastian Struß
3fb564d2db Add docker multi-arch build with github package push and cleaned up Dockerfile for smaller builds 2024-10-05 08:53:14 +02:00
Daniel Molkentin
772e890627 fix: remove verbose comment 2024-10-03 21:40:28 +02:00
Daniel Molkentin
fc8214f3fe feat: run pytest for PRs 2024-10-03 21:38:04 +02:00
Michael Osthege
bbaaacaca0 Add pre-commit configuration 2024-10-03 17:28:49 +02:00