Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automated CI testing #228

Open
adrelanos opened this issue Oct 23, 2023 · 6 comments
Open

automated CI testing #228

adrelanos opened this issue Oct 23, 2023 · 6 comments

Comments

@adrelanos
Copy link
Contributor

There is travis but travis went paid-only this is where most Open Source projects stopped using them.

What's the status of automated CI testing? I suppose once travis changed there's no CI testing anymore?

What alternatives are there? Could the travis files if no longer used be ported to github or any other CI?

@adrelanos
Copy link
Contributor Author

Not having CI makes bigger changes difficult. (#224)

It doesn't even need to be automated CI testing. Just local automated testing would suffice.

So if I could use a disposable (throw away) (Qubes) App Qube (that I am not afraid to damage) for automated testing that might also help.

@jkirk
Copy link
Contributor

jkirk commented Oct 24, 2023

AFAIK we have make testrun (7fc0e06) which uses Vagrant under the hood. I haven't used it for ages and I think it should get some love. 😉

That said, since we switched to GitHub, I would also like to see some GitHub Actions/Workflows (at least for basic stuff like linting/coding style/spellchecking/...), @mika ?

@mika
Copy link
Member

mika commented Oct 25, 2023

Yeah good point!

The make testrun should actually get updated, I usually run the more recent Debian versions inside the packer directory (bookworm/bullseye/buster) whenever it's relevant for customer work, a new Debian point release shows up or alike, but I'm aware of that this is somewhat of type WFM.

Switching from Travis to GitHub actions would be very nice, if someone wants to look into this, more than welcome. :)

@adrelanos
Copy link
Contributor Author

make testrun is currently not easy to use for me. It seems strange that it downloads VirtualBox guest additions, grml ISO.

It fails to start for me because I am ready using a VM - Qubes. Hence, I cannot run tests inside VirtualBox.

Can the tests be run locally without VMs?

@zeha
Copy link
Member

zeha commented Nov 11, 2023

Currently no. Maybe you can get packer to run with a lighter weight VM technology, and/or get nested virtualisation to work on your system. I think it would be beneficial to have the tests use qemu, because that would also work in Debian's autopkgtest setup.

@zeha
Copy link
Member

zeha commented Nov 13, 2023

#238 adds CI for VM mode.

Additional ideas:

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

No branches or pull requests

4 participants