Skip to content

ci: fix ShellCheck linting for BATS tests#3347

Merged
georglauterbach merged 3 commits intomasterfrom
ci/fix-shellcheck
May 23, 2023
Merged

ci: fix ShellCheck linting for BATS tests#3347
georglauterbach merged 3 commits intomasterfrom
ci/fix-shellcheck

Conversation

@georglauterbach
Copy link
Copy Markdown
Member

Description

Make lint.sh lint BATS tests again.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (README.md or the documentation under docs/)
  • If necessary I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@georglauterbach georglauterbach added area/ci area/tests kind/bug/fix A fix (PR) for a confirmed bug labels May 15, 2023
@georglauterbach georglauterbach added this to the v13.0.0 milestone May 15, 2023
@georglauterbach georglauterbach self-assigned this May 15, 2023
@georglauterbach georglauterbach changed the title Ci/fix shellcheck ci: fix ShellCheck linting for BATS tests May 15, 2023
@georglauterbach georglauterbach enabled auto-merge (squash) May 19, 2023 17:09
@casperklein
Copy link
Copy Markdown
Member

Make lint.sh lint BATS tests again.

A short summary why it was broken (the reason) would have been nice. The new solution looks good, but also the previous one (haven't checked why it wasn't working).

@georglauterbach
Copy link
Copy Markdown
Member Author

Sorry for the lack of explanation. The crux was: the directory containing the tests changed, and the linting script wasn't adjusted. This PR takes care of the directory problem and also of some minor code smells.

@georglauterbach georglauterbach merged commit abd72b6 into master May 23, 2023
@georglauterbach georglauterbach deleted the ci/fix-shellcheck branch May 23, 2023 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci area/tests kind/bug/fix A fix (PR) for a confirmed bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants