All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
2 on: [push, pull_request]
9 - uses: actions/checkout@v2
10 - uses: actions/setup-python@v2
11 - run: pip install vim-vint
12 - run: vint --warning --verbose --enable-neovim ./autoload ./plugin
18 os: [macos-latest, ubuntu-latest, windows-latest]
21 runs-on: ${{ matrix.os }}
23 - uses: actions/checkout@v2
24 - name: Checkout themis.vim
25 uses: actions/checkout@v2
27 repository: thinca/vim-themis
29 - uses: rhysd/action-setup-vim@v1
32 neovim: ${{ matrix.neovim }}
33 - name: Run unit tests
35 THEMIS_VIM: ${{ steps.vim.outputs.executable }}
36 THEMIS_PROFILE: profile.txt
37 run: ./vim-themis/bin/themis ./test/unit
38 - uses: actions/setup-python@v2
39 if: matrix.os != 'windows-latest'
40 - name: Report coverage
41 if: matrix.os != 'windows-latest'
43 # https://github.com/Vimjas/covimerage/issues/95
44 pip install 'click<8.0.0'
45 pip install covimerage
46 covimerage write_coverage profile.txt
49 - name: Upload coverage to codecov
50 if: matrix.os != 'windows-latest'
51 uses: codecov/codecov-action@v1
56 name: Integration tests
61 runs-on: ubuntu-latest
63 - uses: actions/checkout@v2
64 - name: Checkout themis.vim
65 uses: actions/checkout@v2
67 repository: thinca/vim-themis
69 - uses: rhysd/action-setup-vim@v1
72 neovim: ${{ matrix.neovim }}
73 - name: Checkout vim-lsp
74 uses: actions/checkout@v2
76 repository: prabirshrestha/vim-lsp
77 path: test/integ/deps/vim-lsp
79 uses: actions/checkout@v2
81 repository: dense-analysis/ale
82 path: test/integ/deps/ale
83 - name: Install rust-analyzer
86 curl --fail -L https://github.com/rust-analyzer/rust-analyzer/releases/latest/download/rust-analyzer-x86_64-unknown-linux-gnu.gz -o rust-analyzer.gz
87 gunzip ./rust-analyzer.gz
88 chmod +x ./rust-analyzer
89 mv ./rust-analyzer ~/bin
90 echo "$HOME/bin" >> $GITHUB_PATH
91 - name: Run integration tests
93 THEMIS_VIM: ${{ steps.vim.outputs.executable }}
94 run: ./vim-themis/bin/themis ./test/integ
95 - name: Show runtime information
98 echo 'integ_messages.txt'
99 [ -f test/integ/integ_messages.txt ] && cat test/integ/integ_messages.txt
101 [ -f test/integ/lsp-log.txt ] && cat test/integ/lsp-log.txt