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

Bashcov (Simplecov) failing #83

Closed
dalisoft opened this issue Feb 29, 2024 · 1 comment
Closed

Bashcov (Simplecov) failing #83

dalisoft opened this issue Feb 29, 2024 · 1 comment

Comments

@dalisoft
Copy link
Contributor

dalisoft commented Feb 29, 2024

.simplecov

SimpleCov.start do
  minimum_coverage 15
  add_filter "tests/"
  add_filter "/.git/"
  add_filter "bash_unit"

  command_name 'Unit Tests'
  coverage_dir 'coverage'
end

Error

From GitHub Actions workflow error: https://github.com/dalisoft/release-me/actions/runs/8090808793/job/22108888404#step:5:16

rm -rf coverage && find . -iname '*.test.sh' | ROOT_DIR=$(pwd) xargs -L1 bashcov ./bash_unit --mute
Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
/Users/dalisoft/.gem/gems/simplecov-0.21.2/lib/simplecov.rb:354:in `start': coverage measurement is already setup (RuntimeError)
        from /Users/dalisoft/.gem/gems/simplecov-0.21.2/lib/simplecov.rb:354:in `start_coverage_with_criteria'
        from /Users/dalisoft/.gem/gems/simplecov-0.21.2/lib/simplecov.rb:343:in `start_coverage_measurement'
        from /Users/dalisoft/.gem/gems/simplecov-0.21.2/lib/simplecov.rb:59:in `start'
        from /Users/dalisoft/.gem/gems/bashcov-3.1.1/bin/bashcov:17:in `<top (required)>'
        from /Users/dalisoft/.gem/bin/bashcov:25:in `load'
        from /Users/dalisoft/.gem/bin/bashcov:25:in `<main>'
@infertux
Copy link
Owner

infertux commented Mar 5, 2024

Fixed in #84

@infertux infertux closed this as completed Mar 5, 2024
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