Update python call to not run on gui #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check | |
on: [push, pull_request] | |
jobs: | |
check: | |
strategy: | |
fail-fast: false | |
matrix: | |
vimFlavor: ["vim", "nvim"] | |
tagsProvider: ["exuberant-ctags", "universal-ctags"] | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Enable Universe package repository | |
run: | | |
sudo add-apt-repository universe | |
sudo apt-get update | |
- name: Install ${{ matrix.tagsProvider }} | |
run: | | |
sudo apt-get install ${{ matrix.tagsProvider }} | |
- name: Install ${{ matrix.vimFlavor }} | |
run: | | |
sudo apt-get install ${{ matrix.vimFlavor == 'nvim' && 'neovim' || 'vim' }} | |
- name: Review versions | |
run: | | |
ctags --version | |
${{ matrix.vimFlavor }} --version | |
- name: "Try tagbar#OpenWindow()" | |
run: | | |
${{ matrix.vimFlavor == 'nvim' && 'nvim -u /dev/null --headless' || 'vim' }} -i NONE "+set rtp+=$(pwd)" "+call tagbar#OpenWindow() | q" "+cq" plugin/tagbar.vim |