diff options
author | kylo252 <[email protected]> | 2022-04-12 11:18:17 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-04-12 11:18:17 +0200 |
commit | 1569202d39c40d7a44de5eb1b10cf203dd33af41 (patch) | |
tree | f44862786fe8d39e5f7cd2ec7d0c101b27bc68ba /utils/ci | |
parent | 3de6a404c92e495baa8688aa76d98c4ea9caa8c7 (diff) |
fix(impatient): avoid get_options in fast handler (#2451)
Diffstat (limited to 'utils/ci')
-rw-r--r-- | utils/ci/run_test.sh | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/utils/ci/run_test.sh b/utils/ci/run_test.sh index 5b7f81ac..b12ceb7e 100644 --- a/utils/ci/run_test.sh +++ b/utils/ci/run_test.sh @@ -6,10 +6,14 @@ export LUNARVIM_RUNTIME_DIR="${LUNARVIM_RUNTIME_DIR:-"$HOME/.local/share/lunarvi export LVIM_TEST_ENV=true # we should start with an empty configuration -TEST_BASE_DIR="$(mktemp -d)" +LUNARVIM_CONFIG_DIR="$(mktemp -d)" +LUNARVIM_CACHE_DIR="$(mktemp -d)" -export LUNARVIM_CONFIG_DIR="$TEST_BASE_DIR" -export LUNARVIM_CACHE_DIR="$TEST_BASE_DIR" +export LUNARVIM_CONFIG_DIR LUNARVIM_CACHE_DIR + +echo "cache: $LUNARVIM_CACHE_DIR + +config: $LUNARVIM_CONFIG_DIR" lvim() { nvim -u "$LUNARVIM_RUNTIME_DIR/lvim/tests/minimal_init.lua" --cmd "set runtimepath+=$LUNARVIM_RUNTIME_DIR/lvim" "$@" @@ -20,5 +24,3 @@ if [ -n "$1" ]; then else lvim --headless -c "PlenaryBustedDirectory tests/specs { minimal_init = './tests/minimal_init.lua' }" fi - -rm -rf "$TEST_BASE_DIR" |