dundargoc
fe1e6b82f4
ci: inline test.sh to run_tests.sh ( #22198 )
...
This will get rid of the common/ directory.
2023-02-10 00:42:37 +01:00
dundargoc
ad00b03426
build: remove codecov related files ( #20859 )
...
These aren't needed as we don't use codecov anymore.
2023-02-09 11:04:02 +01:00
dundargoc
2294210660
ci: remove fail summary ( #22174 )
...
The tests already have a summary at the end, there's no need for an
additional fail summary wrapper.
2023-02-08 18:32:17 +01:00
dundargoc
0fc9a232e0
ci: remove unnecessary END_MARKER variable ( #22171 )
2023-02-08 16:21:50 +01:00
dundargoc
adae075fcf
ci: remove unnecessary variables and functions ( #22150 )
2023-02-07 09:27:51 +01:00
dundargoc
3170e05d57
build: don't build libnvim when running the CI ( #22149 )
...
It shouldn't be sneakily run alongside the nvim build. If it's to
be used it should be done in a separate step.
2023-02-06 23:42:03 +01:00
dundargoc
aa04efcf57
ci: remove unhelpful helper functions for make ( #22148 )
2023-02-06 23:14:41 +01:00
bfredl
13aa23b62a
refactor(tests): run unittests using main nvim binary in interpreter mode
...
This allows us to get rid of the separate "nvim-test" target
2023-01-31 19:28:26 +01:00
dundargoc
502b5ee10f
build(lint): add more shell scripts to lintsh
2022-11-01 18:37:21 +01:00
Lewis Russell
5b80d20271
ci(cache): remove ccache
...
It was never in action since migrating from travis to github actions.
2022-08-12 14:07:23 +01:00
Justin M. Keyes
f05a2891d3
build: rename build-related dirs
...
Problem:
Dirs "config", "packaging", and "third-party" are all closely related
but this is not obvious from the layout. This adds friction for new
contributors.
Solution:
- rename config/ to cmake.config/
- rename test/config/ to test/cmakeconfig/ because it is used in Lua
tests: require('test.cmakeconfig.paths').
- rename packaging/ to cmake.packaging/
- rename third-party/ to cmake.deps/ (parallel with .deps/)
2022-06-28 04:02:29 -07:00
zeertzjq
4ede2ea4b2
test: fix runnvim.sh ( #17690 )
2022-03-13 22:07:22 +08:00
Dundar Göc
815ba835a3
ci: refactor and simplify CI process
2022-03-10 09:21:41 +01:00
Dundar Göc
d47714d87c
ci: remove function run_suite
2022-03-10 09:21:41 +01:00
Dundar Göc
7a0fd7a288
ci: remove variable FAIL_SUMMARY
...
On GitHub Actions it just repeats the summary that is shown just after.
When run outside of GitHub Actions it erroneously shows the summary of
the previous suites.
2022-03-10 09:21:41 +01:00
Dundar Göc
fbcbd1d05e
ci: remove variable NVIM_TEST_CURRENT_SUITE
...
We always know where in the test we are anyway, it's just needless
repetition.
2022-03-10 09:21:41 +01:00
Dundar Göc
17ecb60c58
ci: remove fail character from fail function
2022-03-10 09:21:40 +01:00
Dundar Göc
8b92d71b30
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.
2022-02-18 11:36:30 +01:00
Dundar Göc
c373226ee7
ci: disable tracing (set -x) from the shell scripts
2022-02-11 16:53:34 +01:00
Dundar Göc
2c5382aafa
ci: remove function run_test
2022-02-10 09:43:51 +01:00
Dundar Göc
357234865b
ci: remove continue flag from exit_suite since it's always needed
2022-02-10 09:43:51 +01:00
Dundar Göc
b8529ea9b8
ci: run all tests with run_suite function
2022-02-10 09:43:51 +01:00
Dundar Göc
f30ce7d273
ci: run all suites with run_suite function
2022-02-07 09:57:21 +01:00
Dundar Göc
fa192e97d5
ci: simplify CI process
2022-02-04 23:51:51 +01:00
Dundar Göc
b30ac599f8
ci: remove all code containing python2
...
Also change all mentions of python 3 to just python.
2022-01-26 23:44:02 +01:00
dundargoc
be255557ce
ci: simplify ci_fold function ( #16874 )
2022-01-03 11:47:11 -05:00
Dundar Göc
64f23c27e2
ci: remove watchdog function run_tests_wd
...
It's only used once for running check-single-includes (which I strongly
suspect it doesn't need anyway), its core logic is incorrect since both the
variables "tempsize" and "prev_temsize" are never defined and parsing ps
is incredibly fragile.
2022-01-02 18:23:28 +01:00
James McCoy
6a03bcc3c2
fix(test): Detect more core filenames
2021-04-08 08:13:39 -04:00
James McCoy
d93e397232
ci: s/TRAVIS_OS_NAME/CI_OS_NAME/ for non-Travis-specific code
2020-11-24 21:26:02 -05:00
James McCoy
25a8385cd1
ci: Rename travis_fold to ci_fold and add GHA support
2020-11-13 13:38:12 -05:00
James McCoy
eb2aaed5cc
Add Linux ASAN GitHub Action
2020-11-13 13:36:56 -05:00
James McCoy
d0714e87d6
build: Rename TRAVIS_BUILD_DIR to CI_BUILD_DIR
2020-11-13 13:36:56 -05:00
James McCoy
2516386c6b
travis: Install clang-11 for ASAN/UBSAN job
...
[skip appveyor]
2020-09-04 10:59:16 -04:00
Justin M. Keyes
1b42e95ece
ci/travis: Enable ipv6 #12182
...
ref: a39c8b7ce3
ref: bfe13ccc58
Also:
- Remove unused macos_rvm_dance() function. (It was there for reference,
but we have since resolved (or gave up) on Travis + macOS + ruby.
2020-04-25 17:20:37 -07:00
Daniel Hahler
8f20c50caa
ci: submit_coverage: run luacov actually ( #11169 )
...
Apparently this got lost with #11127 / 77a551b65
.
2019-10-07 00:44:54 +02:00
Daniel Hahler
77a551b657
ci: coverage for Lua (no Windows, using luacov) ( #11127 )
2019-10-04 16:09:42 +02:00
Daniel Hahler
3d3c783fea
ci: Travis: simplify 32bit build ( #11093 )
...
- `CMAKE_SYSTEM_LIBRARY_PATH` should not be used, and is a
semicolon-separated list anyway [1]
1: https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_LIBRARY_PATH.html
2019-10-03 05:40:25 +02:00
Daniel Hahler
6cc76194b2
tests: use runtime from build for doc/tags with :help ( #10479 )
...
This is better practice in general, and allows to remove the "helptags
ALL" hacks.
Ref: https://github.com/neovim/neovim/issues/8824
Ref: https://github.com/neovim/neovim/commit/f1b67c3453c
* Makefile: fix dependencies with regard to helptags
- use the file as the main target to avoid unnecessary triggering
- use "make oldtest" on Travis to ensure it gets built
2019-08-28 22:47:54 +02:00
Daniel Hahler
7c0ae06664
ci: Travis: build.sh: use cat "-vet" for osx
...
Fixes:
cat: illegal option -- A
usage: cat [-benstuv] [file ...]
Broken in 5cc45bb41
.
squash! ci: Travis: build.sh: use cat "-vET" for osx [skip appveyor]
cat -vet
2019-08-14 23:17:42 +02:00
Daniel Hahler
5cc45bb419
ci: Travis: check logs for TSan also ( #10775 )
...
Uses `cat -A` with early "*San" check:
This prints terminal escape sequences as-is (for debugging), and does
not cause (display) issues with the Travis log.
Ref: https://github.com/neovim/neovim/pull/10591#issuecomment-521248233
2019-08-14 18:27:08 +02:00
Daniel Hahler
208f56d3b9
ci: Travis: improve/revisit caching ( #10358 )
...
- use CACHE_NVIM_DEPS_DIR
- do not cache pip
This is handled through http caches in general/better, and it is not
used much anyway.
- do not cache DEPS_DOWNLOAD_DIR
Built deps are cached, downloads are not needed then.
- display ccache stats before clearing
- do not cache ccache stats
- improve output of `du` (do not list pages of output for "/home/travis/.cache/go-build")
2019-07-30 23:21:12 +02:00
Daniel Hahler
48884ac3b3
ci: Travis: no need for asan_symbolize ( #10627 )
...
Having llvm-symbolizer in the $PATH is enough.
- check_logs: remove log after displaying it
Otherwise it would be displayed/symbolized again and again.
E.g. in https://api.travis-ci.org/v3/job/564477704/log.txt .
2019-07-28 11:48:54 +02:00
Daniel Hahler
d1faf900b1
coverage: use "cd" with gcovr ( #10594 )
...
This makes the invocation compatible for the upcoming gcovr 4.2 release,
and is the correct way of invoking it.
Ref: https://github.com/gcovr/gcovr/commit/a782972#commitcomment-34420728
2019-07-25 01:11:17 +02:00
Daniel Hahler
a04e0c8db2
Revert "Downgrade to clang-4.0 to avoid false-positive warnings from clang" [skip appveyor] ( #10487 )
...
This reverts commit 2cbac719c3
.
2019-07-18 08:49:37 +02:00
Daniel Hahler
28a86608a8
CI: improve gcov handling #10404
...
- Move __gcov_flush to process_spawn, for more reliable coverage
tracking of subprocesses
- Travis: use GCOV_ERROR_FILE
- codecov: use "-X fix" to skip "fixing" uploaded coverage data; it
should be handled by codecov's backend instead.
- AppVeyor: no $PATH mangling, which breaks with the improved coverage tracking
due to missing .dll in PATH.
2019-07-07 21:09:37 +02:00
Daniel Hahler
d42bbf363e
ci: Travis: do not close fold on failure [skip ci]
...
This makes it easier to inspect the test failure, without having to open
two folds (typically), and scrolling around.
2019-07-03 00:43:22 +02:00
Daniel Hahler
c62690ccc4
ci: Travis: upgrade OSX images (10.1 => 10.2) ( #10319 )
...
* ci: Travis: upgrade OSX images (10.1 => 10.2)
* ci: nvim-deps: use `cp -a` [skip appveyor]
Symlinks should be preserved.
Ref: https://github.com/neovim/neovim/pull/10319#issuecomment-505410132
2019-06-26 20:06:40 +02:00
Daniel Hahler
e13ae7cae6
ci: revisit/fix coverage uploading ( #10201 )
...
* Add ci/common/submit_coverage.sh, used with Travis and AppVeyor
* use gcovr, with coverage.xml for better branch coverage reporting, and
easier processing of gcov files in general
* codecov: use flags again, with `uname -s` additionally
Ref: https://github.com/neovim/neovim/pull/10227#issuecomment-502923543
* remove now unused parsers.gcov config from codecov.yml
2019-06-25 15:35:33 +02:00
Daniel Hahler
04d03b0cbc
ci/common/test.sh: fix some issues reported by shellcheck
2019-06-17 02:00:58 +02:00
Daniel Hahler
26a9d2cef1
ci: codecov: do not use flags [ci skip] ( #10227 )
...
Using flags results in timeouts on their end when viewing reports, and
is a known issue since months already.
2019-06-15 18:34:00 +02:00