canonical / canonical/inference-snaps-testing

Quote optional boolean fields

Open Beginner friendly
#20 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
1
Forks
0
Avg merge
3d 49m
Merged PRs (30d)
2

Description

https://github.com/canonical/inference-snaps-testing/blob/0dc80e4ab03f453de3e970e0a1cdff5489f6c659/.github/workflows/deepseek-r1.yaml#L84

This script will be maintained by a user, not the developer of the tests. To make it easier to use, perhaps we can quote this line, passing an empty string into the tests, avoiding the inline conditional. The tests should handle unset values, not the workflow file.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with line 84 of .github/workflows/deepseek-r1.yaml and inspect how the optional boolean value is passed into the tests. Update the workflow so an unset value is passed as an empty string, then verify that the tests handle unset values as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, shell
Domain
ci-cd, testing-qa
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.