calamares-nixos-extensions icon indicating copy to clipboard operation
calamares-nixos-extensions copied to clipboard

Unit tests for modules/nixos/main.py

Open lulu-berlin opened this issue 7 months ago • 6 comments

Is my assumption correct that there are no unit tests for modules/nixos/main.py?

I think it would have probably been possible to catch the swapon bug (#34 fixed in #36) with a unit test and also to avoid future regressions.

What do you think? Would it be possible to add a CI (maybe github actions) to this project that would run such tests? I'm willing to make a PR and scaffold some tests if that's welcome.

lulu-berlin avatar Jul 24 '24 17:07 lulu-berlin