mirror of
https://github.com/dense-analysis/ale
synced 2025-01-02 20:12:04 +00:00
Fix 354 - Migrate CI from travis to Github Actions (#3549)
* Fix 354 - Migrate CI from travis to Github Actions * Use matrix strategy for parallel tests * Don't build image on each run * Add push trigger on tags Co-authored-by: Horacio Sanson <horacio@allm.inc>
This commit is contained in:
parent
7e3d2930d8
commit
a1e6df987c
23
.github/workflows/main.yml
vendored
Normal file
23
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
name: CI
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
tags:
|
||||||
|
- /^v\d+\.\d+\.(x|\d+)$/
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test_ale:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
vim-version:
|
||||||
|
- '--vim-80-only'
|
||||||
|
- '--vim-81-only'
|
||||||
|
- '--neovim-only'
|
||||||
|
- '--linters-only'
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Run tests
|
||||||
|
run: ./run-tests -v ${{ matrix.vim-version }}
|
16
.travis.yml
16
.travis.yml
@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
sudo: required
|
|
||||||
services:
|
|
||||||
- docker
|
|
||||||
language: generic
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
- /^v\d+\.\d+\.(x|\d+)$/
|
|
||||||
env:
|
|
||||||
- OPTIONS=--vim-80-only
|
|
||||||
- OPTIONS=--vim-81-only
|
|
||||||
- OPTIONS=--neovim-only
|
|
||||||
- OPTIONS=--linters-only
|
|
||||||
script: |
|
|
||||||
./run-tests -v $OPTIONS
|
|
Loading…
Reference in New Issue
Block a user