Closed chanchiwai-ray closed 7 months ago
Also, while we're here, can we remove
format
andunit
from the default env list run when a baretox
is run? I think it's probably enough that a baretox
just runs the linters.
Sure, thanks for bringing this up. I also feel that the tox target introduce in charmcraft init
a bit inconvenient to use. If you already have an idea, can you open a PR? But I will prefer keeping keeping unit test in default tox
target since it's cheap to run (if unit tests are implemented correctly); it's okay to me merging static
and lint
into code-quailty
(probably a better and shorter name)
Added some dependency after rebasing onto main
Add lint and unit test workflow when PR is created on the
main
branch.See example runs of the workflow from my fork.