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

Latest release April 2023 No longer has any coverage in report #71

Closed
animaxcg opened this issue Apr 28, 2023 · 1 comment
Closed

Latest release April 2023 No longer has any coverage in report #71

animaxcg opened this issue Apr 28, 2023 · 1 comment

Comments

@animaxcg
Copy link

the latest release no longer finds any coverage on scripts at all. If this is a change in setup needed that needs to be documented:
repo steps on macos with Run completed using bashcov 3.0.2 with Bash 3.2, Ruby 3.0.0, and SimpleCov 0.21.2:
hello.sh:

#!/bin/bash
echo "hello"
bash-3.2$ bashcov hello.sh 
+BASHCOV>4a74ab0b-0f09-46b7-b474-2fc705aaea0024a74ab0b-0f09-46b7-b474-2fc705aaea00hello.sh4a74ab0b-set -x
+BASHCOV>4a74ab0b-0f09-46b7-b474-2fc705aaea0034a74ab0b-0f09-46b7-b474-2fc705aaea00hello.sh4a74ab0b-echo hello
hello
Run completed using bashcov 3.0.2 with Bash 3.2, Ruby 3.0.0, and SimpleCov 0.21.2
Coverage report generated for /bin/bash hello.sh to /Users/joehale/projects/hel/coverage. 0 / 2 LOC (0.0%) covered.

Previous versions would return 100% coverage

@infertux
Copy link
Owner

infertux commented Aug 2, 2023

You're running Bash 3.2 which is no longer supported since Bashcov 3.0. I don't use macOS but I believe you can install a recent version of Bash with Homebrew.

@infertux infertux closed this as completed Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants