Closed CasperWA closed 1 year ago
I think this is a misconception. The test
variable is meant to still test a proper release, but instead release to TestPyPI and write out debug statements.
In order to test the CD - Release workflow in another way, other, more invasive, things should be done.
It's worth wondering whether it is the workflow or other parts one truly wants to test. E.g., in the current #82 we don't want to test the workflow (only perhaps that the parsing is good from the workflow description to the ci-cd
tool). Instead we truly just want to run the ci-cd
tool and understand whether the changes are correct. This can be achieved by installing the tool locally and running it, of course.
Setting
test: true
is not enough for testing the CD - Release workflow, unfortunately. One must now still uncomment a lot ofif
statements concerning checking thegithub.ref
value.