summaryrefslogtreecommitdiff
path: root/run-tests
AgeCommit message (Collapse)Author
2023-02-13Clean up run-tests syntaxw0rp
2023-02-13run-tests: download images only on x86-64 (#4421)Albert Peschar
When running the tests on aarch64, the run-tests script tries to download a pre-built image that is built for x86-64, and thus does not run. This change adds a check for the Docker daemon host platform and only downloads the image if it will run. Furthermore, the image dependency testbed/vim:24 is also built unless the platform is x86_64, since it is also only provided for this platform.
2022-11-25Fix 4324 - add neovim 0.8 test (#4325)Horacio Sanson
* Fix 4324 - add neovim 0.8 test * Update vim testbed image * Update documentation Co-authored-by: w0rp <w0rp@users.noreply.github.com>
2022-10-04Add vim 9.0 and remove 8.0 (#4271)Horacio Sanson
* Add vim 9.0 and remove 8.0 * Remove vim 8.2 and keep 8.0
2022-06-29Update tests to use latest neovim 0.7 (#4180)Horacio Sanson
* Update tests to use latest neovim 0.7 * Update CI to use neovim 0.7 * Fix conflict
2022-04-01Add neovim 0.6 to run-tests (#3998)Horacio Sanson
* Update test scripts * Remove neovim 0.3 and 0.4 * Add neovim 0.6.1 Co-authored-by: Horacio Sanson <horacio@allm.inc> Co-authored-by: w0rp <devw0rp@gmail.com>
2021-11-04Make run-tests compatible with Podman (#3961)Magnus Groß
There is no need to filter for references in such a complicated way. docker images already works if you just pass the image and tag as an argument. This caused problems if one was using podman with its docker-compatible interface. Previously podman would return the following error: Error: cannot specify an image and a filter(s) With this new method podman does not return an error anymore, causing the image to not be redownloaded every time and it still works with normal Docker.
2021-08-08Fix 3865 - Disable scriptencoding vint error. (#3866)Horacio Sanson
- Add .vintrc.yaml configuration that disables the scriptencoding check (ProhibitMissingScriptEncoding) that is raised randomly. - Upgrade vint to 0.3.21. Project seems to have stopped here and 0.4.0 was never released. - Ensure the run-test scripts use the correct docker image (e.g. add tag) . Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-08-07Add neovim-05 flag to run-test help output (#3864)Horacio Sanson
Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-08-05Use md5(1) when available (#3855)Jon Parise
md5sum isn't available by default on macOS. Instead, it ships the BSD-style md5(1) command, which does the same thing but with different arguments. With this change, run-tests works out-of-the-box on macOS.
2021-08-05Add neovim 0.5 to list of test runtimes. (#3830)Horacio Sanson
* Add neovim 0.5 to list of test runtimes. * Update testbed docker image Co-authored-by: Horacio Sanson <horacio@allm.inc>
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