mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-13 02:05:40 +08:00
Add github_action_check (#4095)
This commit is contained in:
parent
28a71d88a1
commit
3d0c9f4068
18
.github/workflows/async.yml
vendored
Normal file
18
.github/workflows/async.yml
vendored
Normal file
@ -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 }}
|
25
.github/workflows/check.yml
vendored
Normal file
25
.github/workflows/check.yml
vendored
Normal file
@ -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
|
@ -7,8 +7,6 @@
|
||||
[Gitter **Chat**](https://gitter.im/SpaceVim/SpaceVim) \|
|
||||
[中文官网](https://spacevim.org/cn/)
|
||||
|
||||
[](https://travis-ci.com/SpaceVim/SpaceVim)
|
||||
[](https://ci.appveyor.com/project/wsdjeg/spacevim/branch/master)
|
||||
[](https://codecov.io/gh/SpaceVim/SpaceVim/branch/master)
|
||||
[](https://hub.docker.com/r/spacevim/spacevim/)
|
||||

|
||||
|
Loading…
x
Reference in New Issue
Block a user