Skip to content

Commit

Permalink
fix: temporarily disable windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoomen committed Oct 14, 2023
1 parent 6baab95 commit 290874b
Showing 1 changed file with 42 additions and 46 deletions.
88 changes: 42 additions & 46 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
tests_vim:
name: Vim (unix)
name: Vim
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -48,53 +48,53 @@ jobs:
run: ./scripts/run-vader-tests.sh "${{ steps.vim.outputs.executable }}"
shell: bash

tests_vim_windows:
name: Vim (windows)
strategy:
fail-fast: false
matrix:
os: [windows-latest]
# versions are coming from https://github.com/vim/vim-win32-installer
# and most of the versions we support aren't listed, therefore we take
# the next tag version that is available in this repository.
vim-version: [v8.2.5171, nightly]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout kkoomen/vim-doge
uses: actions/checkout@v2

- name: Checkout junegunn/vader.vim
uses: actions/checkout@v2
with:
repository: junegunn/vader.vim
path: vader.vim

- name: Cache Cargo dependencies
uses: actions/cache@v2
with:
path: ~/.cargo
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Build (windows)
run: ./scripts/build.ps1

- name: Setup vim
uses: rhysd/action-setup-vim@v1
id: vim
with:
version: ${{ matrix.vim-version }}
neovim: false

- name: Run tests
run: ./scripts/run-vader-tests.sh "${{ steps.vim.outputs.executable }}"
shell: bash
# tests_vim_windows:
# name: Vim
# strategy:
# fail-fast: false
# matrix:
# os: [windows-latest]
# # versions are coming from https://github.com/vim/vim-win32-installer
# # and most of the versions we support aren't listed, therefore we take
# # the next tag version that is available in this repository.
# vim-version: [v8.2.5171, nightly]
# runs-on: ${{ matrix.os }}
# steps:
# - name: Checkout kkoomen/vim-doge
# uses: actions/checkout@v2
#
# - name: Checkout junegunn/vader.vim
# uses: actions/checkout@v2
# with:
# repository: junegunn/vader.vim
# path: vader.vim
#
# - name: Cache Cargo dependencies
# uses: actions/cache@v2
# with:
# path: ~/.cargo
# key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
#
# - name: Build (windows)
# run: ./scripts/build.ps1
#
# - name: Setup vim
# uses: rhysd/action-setup-vim@v1
# id: vim
# with:
# version: ${{ matrix.vim-version }}
# neovim: false
#
# - name: Run tests
# run: ./scripts/run-vader-tests.sh "${{ steps.vim.outputs.executable }}"
# shell: bash

tests_neovim:
name: Neovim
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest]
vim-version: [v0.3.2, stable]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -118,10 +118,6 @@ jobs:
run: ./scripts/build.sh
shell: bash

- name: Build (windows)
if: matrix.os == 'windows-latest'
run: ./scripts/build.ps1

- name: Setup neovim
uses: rhysd/action-setup-vim@v1
id: vim
Expand Down

0 comments on commit 290874b

Please sign in to comment.