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

Simplify 'change require/recommend and run test again' workflow #2821

Open
lukaszachy opened this issue Apr 4, 2024 · 0 comments
Open

Simplify 'change require/recommend and run test again' workflow #2821

lukaszachy opened this issue Apr 4, 2024 · 0 comments
Labels
command | try tmt try command

Comments

@lukaszachy
Copy link
Collaborator

Let's say I do tmt try and I see that the test failed due command not found. I can easily fix that by adding missing dependency to 'require' or 'recommend'.

But to test again I need:

  1. Press 't' which will discover test and dependencies again. Then it will FAIL again as nothing installed new dependencies
  2. Press 'p' to run prepare step, which will install new dependencies (and will run all other prepare phases)
  3. Press 't' to run the test again

Note that running 'prepare' again my fail as its phases aren't expected to be idempotent (in "real" tmt runs they are executed just once) or they just waste time (if they run too long).

I'd expect that 't' should be able to detect that require/recommend has changed and run just the necessary install phase without any additional user output. The flow will then be: 1. Press 't' to reflect changes and run test again.

@lukaszachy lukaszachy added the command | try tmt try command label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command | try tmt try command
Projects
None yet
Development

No branches or pull requests

1 participant