Unable to use spread artifacts with `charmcraft test`
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
### Bug Description
#### Expected behavior
When running `charmcraft test`, it is possible to pass `-artifacts` to spread
#### Actual behavior
It is not possible to pass `-artifacts` to spread when using `charmcraft test`
Similar to #2105
### To Reproduce
N/A
### Environment
N/A
### charmcraft.yaml
```yaml
N/A
```
### Relevant log output
```shell
N/A
```
Evaluation history
No evaluation history available.