Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix ShellCheck linting for BATS tests #3347

Merged
merged 3 commits into from May 23, 2023
Merged

Conversation

georglauterbach
Copy link
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
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
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
2 checks passed
@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.

None yet

2 participants