Include running tests in `init` spread workflow
Metadata
Current evaluation
Fixed by merged PR #1484, adding tox runs to the init spread test so generated charm files are validated beyond packing.
Resolution: closed resolved
Reason: Merged PR #1484 added tox execution to the lifecycle/init spread test, validating the generated project directory in addition to packing it.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
A workflow that tests `init` should also test that the files we create are correct. This means not only packing as we already do, but running all the tox environments.
### Why it needs to get done
Currently, the spread tests that test `init` only pack the charm. They should also ensure that the charm directory is correct.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged PR #1484, adding tox runs to the init spread test so generated charm files are validated beyond packing. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged PR #1484, adding tox runs to the lifecycle/init spread test so generated charm files are validated beyond packing. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation. The request to run tox environments in the init spread workflow was abandoned, as no pull request or resolution was linked. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The proposal to enhance the init spread workflow by running all tox environments to validate generated charm files was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The request to enhance the init spread workflow to run tox environments was abandoned. No resolution or linked changes were recorded. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Expanding the init spread workflow to run tox environments was closed without implementation or an associated pull request. The workflow remains unchanged. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/charmcraft#1484
(confidence 99%)
The merged PR directly implemented the requested tox runs in the init spread workflow.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1484 fix(spread): run tox in lifecycle spread test | charmcraft | merged | Merged #1484, which adds tox execution to the lifecycle spread test and fixes #1471. | |
| #209 Add coverage to unit tests by default in 'charmcraft init' | charmcraft | merged | Merged PR #209 via 2d88b951, making charmcraft init-generated unit tests run with coverage by default; migration to tox was deferred. |