2021-01-27 20:11:46 +00:00
|
|
|
---
|
2021-01-22 09:27:36 +00:00
|
|
|
name: CI
|
2021-01-27 20:11:46 +00:00
|
|
|
on: # yamllint disable-line rule:truthy
|
2021-01-22 09:27:36 +00:00
|
|
|
push:
|
2021-01-27 20:11:46 +00:00
|
|
|
branches: [ master ] # yamllint disable-line rule:brackets
|
2021-01-22 09:27:36 +00:00
|
|
|
tags:
|
2021-07-04 12:11:38 +00:00
|
|
|
- v[0-9]+.[0-9]+.x
|
|
|
|
- v[0-9]+.[0-9]+.[0-9]+
|
2021-01-22 09:27:36 +00:00
|
|
|
pull_request:
|
2021-01-27 20:11:46 +00:00
|
|
|
branches: [ master ] # yamllint disable-line rule:brackets
|
2021-01-22 09:27:36 +00:00
|
|
|
|
|
|
|
jobs:
|
2021-01-27 19:52:24 +00:00
|
|
|
build_image:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build docker run image
|
|
|
|
shell: bash
|
|
|
|
env:
|
|
|
|
DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }}
|
|
|
|
DOCKER_HUB_PASS: ${{ secrets.DOCKER_HUB_PASS }}
|
|
|
|
run: ./run-tests --build-image
|
2021-01-22 09:27:36 +00:00
|
|
|
test_ale:
|
2021-01-27 19:52:24 +00:00
|
|
|
needs: build_image
|
2021-01-22 09:27:36 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
vim-version:
|
|
|
|
- '--vim-80-only'
|
2022-10-04 00:38:07 +00:00
|
|
|
- '--vim-90-only'
|
2021-01-27 19:52:24 +00:00
|
|
|
- '--neovim-02-only'
|
2022-06-29 04:17:00 +00:00
|
|
|
- '--neovim-07-only'
|
2021-01-22 09:27:36 +00:00
|
|
|
- '--linters-only'
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Run tests
|
|
|
|
run: ./run-tests -v ${{ matrix.vim-version }}
|