Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Conversation

@bryteise
Copy link
Contributor

The mechanism used to convert bats tests to something shellcheck can verify caused a large number of failures due to the introduction of testing for if a call is possible. Given the tests aren't called in a normal shell script way, it is best to just ignore this error for bats files.

Also fix an index using '$' unnecessarily.

William Douglas added 2 commits March 26, 2025 14:28
The mechanism used to convert bats tests to something shellcheck can
verify caused a large number of failures due to the introduction of
testing for if a call is possible. Given the tests aren't called in
a normal shell script way, it is best to just ignore this error for
bats files.

Also fix an index using '$' unnecessarily.

Signed-off-by: William Douglas <[email protected]>
Modify the shell check workflow to operate on the same events as the
swupd tests.

Signed-off-by: William Douglas <[email protected]>
@bryteise bryteise merged commit 23a9a44 into master Mar 26, 2025
32 checks passed
@bryteise bryteise deleted the shellcheck-fixups branch March 26, 2025 23:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants