Commit graph

19 commits

Author SHA1 Message Date
Horacio Sanson
bafe1c0fd6
3560 add vim 8.2 and nvim 0.4 to ci tests (#3561)
* Add vim82 and neovim04 to CI tests.

* Fix test_sign_column_hightlighting test.

In vim82 with verbose=1 the output of highlight command changes breaking
the ale#sign#SetUpDefaultColumnWithoutErrorsHighlight(). This commit
forces verbose=0 when the method starts and restores the previous value
before exiting.

* No return values in vim82 returns a numeric value instead of a empty string.

* Fix test_reek_handler test

The FuzzyJSONDecode() method catches E474 when it fails to parse the
input as JSON but Vim8.2 throws E491 instead. This commit modifies the
function to catch both E474 or E491.

* Fix perl6 handler test.

Perl6 handler catches json parse errors using the E474 error but in
Vim82 it changed to E491. This commit modifies the handler so both
errors are considered.

* Fix list opening tests.

In Vim 8.2 the call `range(1, bufnr('$'))` always returns quickfix
buffers no matter if they are closed or not. Using `ls` does not show
them but the above range will always include them.

This new behavior breaks the ale#list#IsQuickfixOpen() method that in
turn breaks many other things. This commit fixes this by using the
getqflist() and getloclist() methods instead.

* Fix test updates loclist test.

For some reason in Vim 8.2 the sign offset seems to not reset between
tests causing the sign_id to not match in the Assert. When the test is
run individually it passes but when run as part of the whole suite the
sign_id is off by one.

Forcing the offset in the test setup seems to fix the issue.

* Fix omnifunc completion test.

For unknown reasons the SetCompletionResponse tests fail in Neovim 0.2
and 0.4. Unfortunatelly the only solution I found is to disable them
for neovim.

* Fix linter warnings

* Fix smoker test.

Add vim 8.2 to the list of versions that need some retires due to
randomly failing tests.

* Add docker image build job.

Trying some clever trick to build the docker image if not available
locally or in Docker hub. It uses the Dockerfile md5 checksum as tag so
only when changes on that file occur will the image be downloaded or
build.

* Add labels to Docker image

* Remove tests for middle versions 8.1 and 0.3.5

* Use same vader commit as appveyor

* Implement image push to Docker Hub

Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-01-27 19:52:24 +00:00
Horacio Sanson
a1e6df987c
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>
2021-01-22 09:27:36 +00:00
w0rp
cfda549056
Tell stale bot to wait longer before closing PRs 2020-08-17 10:20:41 +01:00
w0rp
34adb997c6
Configure the stale bot 2020-08-13 02:37:54 +01:00
w0rp
8012809c3f
Add default labels to issue templates 2020-02-22 10:26:03 +00:00
w0rp
f23811770a
Add briefer help tags for ALE development documentation 2019-01-08 14:40:26 +00:00
w0rp
f4af9157e1
Make the suggestion about asking for help friendlier 2018-12-04 19:07:55 +00:00
w0rp
0d14380d8a
Do not wrap bug report lines 2018-12-04 09:42:37 +00:00
w0rp
f2b353fa09
Fix a mistake with a link 2018-12-04 09:33:24 +00:00
w0rp
9eda079e02
Typo 2018-12-03 20:30:24 +00:00
w0rp
146769c616
Tell people to ask for tech support outside of GitHub issues 2018-12-03 20:29:26 +00:00
w0rp
f01611464a
Tell people to write tests even more 2018-10-31 10:04:25 +00:00
w0rp
ab3646862c
Update the bug reporting template 2018-10-02 11:28:13 +01:00
w0rp
5960a9ae4b
Encourage people to write tests even more 2018-10-02 11:23:23 +01:00
Daniel M. Capella
3e8ae65278
contrib: Fix link to ale-development.txt 2018-08-01 18:13:07 +00:00
w0rp
8980591937
Move README.md back 2018-07-22 12:16:56 +01:00
w0rp
014c924630
Move GitHub files to the .github directory 2018-07-22 12:10:35 +01:00
w0rp
ce7d648c7c Update issue templates 2018-07-01 20:50:50 +01:00
w0rp
8ac43b1936 Update issue templates 2018-07-01 20:50:29 +01:00