aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/test.yml26
-rw-r--r--test/helpers.lua8
2 files changed, 6 insertions, 28 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index a702bce71f..16bbca7050 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -189,8 +189,6 @@ jobs:
perl -W -e 'use Neovim::Ext; print $Neovim::Ext::VERSION'
fi
- - run: echo "DEPS_BUILD_DIR=$HOME/nvim-deps" >> $GITHUB_ENV
-
- uses: ./.github/actions/cache
- name: Build third-party deps
@@ -270,30 +268,6 @@ jobs:
name: Show logs
run: cat $(find "$LOG_DIR" -type f)
- - if: success() || failure() && steps.abort_job.outputs.status == 'success'
- name: Show core dumps
- run: |
- # TODO(dundargoc): app should be luajit for unittests
- app="build/bin/nvim"
- if test "$RUNNER_OS" = macOS; then
- cores="$(find /cores/ -type f -print)"
- else
- cores="$(find ./ -type f \( -name 'core.*' -o -name core -o -name nvim.core \) -print)"
- fi
-
- if test -z "$cores"; then
- exit 0
- fi
- for core in $cores; do
- if test "$RUNNER_OS" = macOS; then
- lldb -Q -o "bt all" -f "$app" -c "$core"
- else
- gdb -n -batch -ex 'thread apply all bt full' "$app" -c "$core"
- fi
- done
- echo 'Core dumps found'
- exit 1
-
build-types:
runs-on: ubuntu-22.04
timeout-minutes: 10
diff --git a/test/helpers.lua b/test/helpers.lua
index 117b6b4aaa..008b91073f 100644
--- a/test/helpers.lua
+++ b/test/helpers.lua
@@ -371,8 +371,12 @@ end
local tests_skipped = 0
-function module.check_cores(app, force)
- app = app or 'build/bin/nvim'
+function module.check_cores(app, force) -- luacheck: ignore
+ -- Temporary workaround: skip core check as it interferes with CI.
+ if true then
+ return
+ end
+ app = app or 'build/bin/nvim' -- luacheck: ignore
local initial_path, re, exc_re
local gdb_db_cmd = 'gdb -n -batch -ex "thread apply all bt full" "$_NVIM_TEST_APP" -c "$_NVIM_TEST_CORE"'
local lldb_db_cmd = 'lldb -Q -o "bt all" -f "$_NVIM_TEST_APP" -c "$_NVIM_TEST_CORE"'