Switch VIM E2E tests to use nightly #994
Workflow file for this run
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: Vim End-to-End Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ main ] | |
merge_group: | |
types: [ checks_requested ] | |
jobs: | |
vim: | |
name: themis | |
runs-on: ubuntu-latest | |
env: | |
DOTNET_NOLOGO: true | |
DOTNET_GENERATE_ASPNET_CERTIFICATE: false | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install dotnet | |
uses: actions/setup-dotnet@v4 | |
with: | |
cache: true | |
cache-dependency-path: '**/*.csproj' | |
- name: Install PSResources | |
shell: pwsh | |
run: tools/installPSResources.ps1 | |
- name: Build | |
shell: pwsh | |
run: Invoke-Build Build | |
- name: Install Vim | |
uses: rhysd/action-setup-vim@v1 | |
- name: Checkout vim-ps1 | |
uses: actions/checkout@v4 | |
with: | |
repository: PProvost/vim-ps1 | |
path: vim-ps1 | |
- name: Checkout LanguageClient-neovim | |
uses: actions/checkout@v4 | |
with: | |
repository: autozimu/LanguageClient-neovim | |
path: LanguageClient-neovim | |
- name: Install LanguageClient-neovim | |
run: ./install.sh | |
working-directory: LanguageClient-neovim | |
- name: Checkout Themis | |
uses: actions/checkout@v4 | |
with: | |
repository: thinca/vim-themis | |
path: vim-themis | |
- name: Debug if run with debugging enabled | |
uses: lhotari/action-upterm@v1 | |
- name: Run Themis with full CLI | |
env: | |
THEMIS_VIM: ${{ steps.vim.outputs.executable }} | |
run: ./vim-themis/bin/themis ./test/vim-test.vim | |
- name: Run Themis with simple CLI | |
env: | |
THEMIS_VIM: ${{ steps.vim.outputs.executable }} | |
run: ./vim-themis/bin/themis ./test/vim-simple-test.vim |