aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDundar Göc <gocdundar@gmail.com>2022-02-14 10:17:25 +0100
committerDundar Göc <gocdundar@gmail.com>2022-02-18 11:36:30 +0100
commit8b92d71b300ef0e53b0e1b2992844dc74bd997c0 (patch)
treee6053a57d41988d2e576b5e10eb06021df9e0998 /.github
parentfaeff49cbfd190afba67e221412b7132b7ad8360 (diff)
downloadrneovim-8b92d71b300ef0e53b0e1b2992844dc74bd997c0.tar.gz
rneovim-8b92d71b300ef0e53b0e1b2992844dc74bd997c0.tar.bz2
rneovim-8b92d71b300ef0e53b0e1b2992844dc74bd997c0.zip
ci: run each test suite in a separate github step
This should help combat some of the lagginess when looking at the CI logs in the browser.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml44
1 files changed, 38 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index aa77689d9f..f357535336 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -43,8 +43,25 @@ jobs:
- name: Build third-party
run: ./ci/before_script.sh
- - name: Run lint
- run: ./ci/script.sh
+ - if: "!cancelled()"
+ name: clint
+ run: ./ci/run_lint.sh clint
+
+ - if: "!cancelled()"
+ name: lualint
+ run: ./ci/run_lint.sh lualint
+
+ - if: "!cancelled()"
+ name: pylint
+ run: ./ci/run_lint.sh pylint
+
+ - if: "!cancelled()"
+ name: shlint
+ run: ./ci/run_lint.sh shlint
+
+ - if: "!cancelled()"
+ name: single-includes
+ run: ./ci/run_lint.sh single-includes
- name: Cache dependencies
if: ${{ success() }}
@@ -126,8 +143,7 @@ jobs:
brew install automake ccache perl cpanminus ninja
- name: Setup interpreter packages
- run: |
- ./ci/install.sh
+ run: ./ci/install.sh
- name: Cache dependencies
uses: actions/cache@v2
@@ -140,8 +156,24 @@ jobs:
- name: Build third-party
run: ./ci/before_script.sh
- - name: Build and test
- run: ./ci/script.sh
+ - name: Build
+ run: ./ci/run_tests.sh build
+
+ - if: matrix.flavor != 'tsan' && matrix.flavor != 'functionaltest-lua' && !cancelled()
+ name: Unittests
+ run: ./ci/run_tests.sh unittests
+
+ - if: matrix.flavor != 'tsan' && !cancelled()
+ name: Functionaltests
+ run: ./ci/run_tests.sh functionaltests
+
+ - if: "!cancelled()"
+ name: Oldtests
+ run: ./ci/run_tests.sh oldtests
+
+ - if: "!cancelled()"
+ name: Install nvim
+ run: ./ci/run_tests.sh install_nvim
- name: Cache dependencies
if: ${{ success() }}