From 3d0c9f4068652f4658df4c7642f5fb20115718cf Mon Sep 17 00:00:00 2001 From: Wang Shidong Date: Tue, 16 Feb 2021 21:28:22 +0800 Subject: [PATCH] Add github_action_check (#4095) --- .github/workflows/async.yml | 18 ++++++++++++++++++ .github/workflows/check.yml | 25 +++++++++++++++++++++++++ README.md | 2 -- 3 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/async.yml create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/async.yml b/.github/workflows/async.yml new file mode 100644 index 000000000..31e14ab72 --- /dev/null +++ b/.github/workflows/async.yml @@ -0,0 +1,18 @@ +name: Detach Plugins + +on: [push] + +jobs: + check: + strategy: + fail-fast: false + matrix: + detachPlugin: ["flygrep", "dein-ui", "vim-todo", "iedit", "scrollbar.vim"] + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + - name: Detach ${{ matrix.detachPlugin }} + if: matrix.detachPlugin == 'nvim' + run: | + .ci/detach_plugin.sh ${{ matrix.detachPlugin }} diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 000000000..64a36f279 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,25 @@ +name: Test + +on: [push, pull_request] + +jobs: + check: + strategy: + fail-fast: false + matrix: + vimFlavor: ["vim", "nvim"] + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + - name: Install ${{ matrix.vimFlavor }} + if: matrix.vimFlavor == 'nvim' + run: | + sudo add-apt-repository universe + sudo apt-get update + sudo apt-get install neovim + - name: Review ${{ matrix.vimFlavor }} version + run: ${{ matrix.vimFlavor }} --version + - name: Run vader test + run: | + make test diff --git a/README.md b/README.md index de2f2b014..6de541cd1 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,6 @@ [Gitter **Chat**](https://gitter.im/SpaceVim/SpaceVim) \| [中文官网](https://spacevim.org/cn/) -[![Build Status](https://travis-ci.com/SpaceVim/SpaceVim.svg?branch=master)](https://travis-ci.com/SpaceVim/SpaceVim) -[![Build status](https://ci.appveyor.com/api/projects/status/eh3t5oph70abp665/branch/master?svg=true)](https://ci.appveyor.com/project/wsdjeg/spacevim/branch/master) [![codecov](https://codecov.io/gh/SpaceVim/SpaceVim/branch/dev/graph/badge.svg)](https://codecov.io/gh/SpaceVim/SpaceVim/branch/master) [![Docker Build Status](https://img.shields.io/docker/build/spacevim/spacevim.svg)](https://hub.docker.com/r/spacevim/spacevim/) ![Version](https://img.shields.io/badge/version-1.7.0--dev-8700FF.svg)