diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-09-09 00:12:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-08 15:12:42 -0700 |
commit | 2d6735d8cecc587eb5549f65260ee9ddeb8e1d78 (patch) | |
tree | 3780a53f31117479b1be92d2c5585734626fa21b /test/functional/api/server_notifications_spec.lua | |
parent | d6233cbcdc3ace30c87676131d25fd2522a7838c (diff) | |
download | rneovim-2d6735d8cecc587eb5549f65260ee9ddeb8e1d78.tar.gz rneovim-2d6735d8cecc587eb5549f65260ee9ddeb8e1d78.tar.bz2 rneovim-2d6735d8cecc587eb5549f65260ee9ddeb8e1d78.zip |
ci: move BSD jobs from sourcehut to Cirrus CI #19616
dispatch.sr.ht is being deprecated, meaning that using sourcehut CI
won't be possible (see https://github.com/neovim/neovim/issues/19609).
Since Github Actions doesn't provide any BSD runners an external service
is required and Cirrus CI seems like a good replacement for sourcehut.
Initially experimented with using FreeBSD and OpenBSD virtual machines
in GitHub Actions, but Cirrus has been a much better fit with better
performance, logs and overall experience.
Failing tests are automatically skipped on FreeBSD regardless if it's on
CI or not. Ideally these tests should only be skipped in CI with the
help of `isCI` helper function. Unfortunately, the tests don't recognize
the environment variable CIRRUS_CI even if it's set manually. This
workaround is good enough for the time being, but we might want to only
skip tests when using the CI (or even better, fix the failing tests).
Closes: https://github.com/neovim/neovim/issues/19609
Diffstat (limited to 'test/functional/api/server_notifications_spec.lua')
-rw-r--r-- | test/functional/api/server_notifications_spec.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/api/server_notifications_spec.lua b/test/functional/api/server_notifications_spec.lua index 1c00f001ff..1c554b05a3 100644 --- a/test/functional/api/server_notifications_spec.lua +++ b/test/functional/api/server_notifications_spec.lua @@ -7,6 +7,7 @@ local exec_lua = helpers.exec_lua local retry = helpers.retry local isCI = helpers.isCI local assert_alive = helpers.assert_alive +local uname = helpers.uname describe('notify', function() local channel @@ -78,6 +79,9 @@ describe('notify', function() end) it('cancels stale events on channel close', function() + if uname() == 'freebsd' then + pending('Failing FreeBSD test') + end if isCI() then pending('hangs on CI #14083 #15251') return |