Skip to content

No output when testing with VIM_VSPEC=nvim for certain tests on some environments #65

@rbong

Description

@rbong

I am assuming Neovim is partially supported because this issue was resolved, let me know if that's incorrect.

I have the following tests:

runtime! plugin/fugitive.vim

describe 'vspec'
  it 'test'
    edit README.md
    Git status
  end
end

I'm running the tests with

bundle exec vim-flavor install
~/.vim-flavor/repos/kana_vim-vspec/bin/vspec ~/.vim-flavor/repos/tpope_vim-fugitive t/flog.vim

I get:

Checking versions...
  Use kana/vim-vspec ... v1.9.2
  Use tpope/vim-fugitive ... v3.4
Deploying plugins...
  kana/vim-vspec v1.9.2 ... done
  tpope/vim-fugitive v3.4 ... done
Completed.

That's the end of output.

If I use a different test, I do get output:

describe 'vspec'
  it 'test'
    Expect 1 == 1
  end
end
...
Completed.
ok 1 - vspec test
1..1

Since this gives no output, I also get Parse errors: No plan found in TAP output when running vim-flavor test. I have seen this related issue, but the suggested fix of building nvim/vim from source does not resolve the issue.

Environment:

  • I only get the error running tests using GitHub Actions
  • I don't get the error:
    • Running tests using vim with GitHub Actions
    • Running nvim tests on my local environment
    • Running tests in a similar Docker container to GitHub Actions (ubuntu:bionic)
    • Using :!git instead of :Git
  • Versions:
    • ruby 3.0 (set up using ruby/setup-ruby@v1 in GitHub Actions)
    • Gemfile
      • vim-flavor 4.0.0
      • rake 13.0
      • made with bundler 2.2.25
    • Flavorfile
      • vim-vspec v1.9.2
      • vim-fugitive v3.4

I have already put in significant time narrowing down this issue as much as I can, I am stuck determining what environmental factors are causing this and what in :Git is causing it. Any assistance narrowing this down further is greatly appreciated, I'm just not sure about my debugging options from here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions