summaryrefslogtreecommitdiff
path: root/run-tests
AgeCommit message (Collapse)Author
2021-01-273560 add vim 8.2 and nvim 0.4 to ci tests (#3561)Horacio Sanson
* 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-14Update the Docker image; fix an errorw0rp
2020-11-28Use akevinclark/ale for the updated docker imageKevin Clark
2020-08-16Make it easier to run tests locallyw0rp
Certain tests could break if you ran them separately from other tests. They have been patched. `run-tests` now has a `--fast` option which runs tests with only the fastest Vim version ALE tests with, and the custom checks.
2019-05-16Use the updated Docker imagew0rp
2019-05-12Fix #2490 - Kill other processes when the test script is interruptedw0rp
2018-07-23Try 3 builds on Travis CIw0rp
2018-07-23Split Vim and Neovim tests into separate buildsw0rp
2018-07-23Get tests to pass in Vim 8.1w0rp
2018-07-23Skip tests for Vim 8.1 for noww0rp
2018-07-15Massively reduce the amount of code needed for linter testsw0rp
2018-07-04Fix how Docker images are pulled for developersw0rp
2018-07-03Use the latest Docker image for testsw0rp
2018-07-01Close #1685 - Move developer documentation to a help filew0rp
2018-07-01Run Vint and custom checks together with just --linters-onlyw0rp
2018-06-28Disable non-Vader tests when targeting Vader testsw0rp
2018-06-28Get tests running and passing with NeoVim 0.2 and 0.3w0rp
2018-05-01Update run-tests to make use of /usr/bin/env (#1548)Bjorn Neergaard
* Update run-tests to make use of /usr/bin/env * Update run-vint * Update run-vader-tests * Update custom-linting-rules * Update custom-checks * Update check-toc * Update check-supported-tools-tables
2017-12-07Run tests in parallelw0rp
2017-12-01Break up the rest of the test script code into smaller filesw0rp
2017-12-01Move the Bash code for running Vader tests to its own filew0rp
2017-09-10Fix numerous issues with integration documentation tags and the table of ↵w0rp
contents, and add a script to check for theses issues
2017-09-10Move scripts for tests into the test directory, and do not export the Batch ↵w0rp
script for running tests
2017-08-30Complain about badly aligned documentation on Travis CI, and fix some ↵w0rp
existing problems
2017-08-28Fix - #883 Document linting behavior better, sync up the lists of supported ↵w0rp
tools, andautomatically demand that they stay in sync
2017-08-22Prevent .swp files from causing the tests to hang in Vim 8w0rp
2017-08-10Automatically check for invalid help tag references, and fix some existing ↵w0rp
documentation issues
2017-07-09Fix issues with running individual tests, and get the Vim tests to run on ↵w0rp
certain machines again
2017-06-29Fix #707 - Fix some duplicate tags, and add some code to check for themw0rp
2017-05-20Add an option to the script for running tests for only showing the tests ↵w0rp
which failed
2017-05-12Run all tests in NeoVim, improve the test script, and make all tests pass ↵w0rp
for NeoVim