summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHoracio Sanson <hsanson@gmail.com>2021-01-22 18:27:36 +0900
committerGitHub <noreply@github.com>2021-01-22 09:27:36 +0000
commita1e6df987c28dd3e0efb7422f4ad85ee3bb3bebc (patch)
treef1dd144c024270720d433d80d17538291351f8f7 /.github
parent7e3d2930d8defbcb233b0bc21822cb8e8377bec2 (diff)
downloadale-a1e6df987c28dd3e0efb7422f4ad85ee3bb3bebc.zip
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>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 00000000..7c182758
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -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 }}