diff options
author | kylo252 <[email protected]> | 2022-04-14 21:24:35 +0200 |
---|---|---|
committer | kylo252 <[email protected]> | 2022-04-14 21:24:35 +0200 |
commit | 6d2e18295f510c2f2167bd911b0d421a3b7f112e (patch) | |
tree | 453d5be502febdf596bf4b60b2d982b8b94db44a /utils/ci | |
parent | f92a0d610c1ee899ec8acb091130f2a5eec22812 (diff) | |
parent | 09684eff642eb455bffda3100f29ef182f734a82 (diff) |
Merge remote-tracking branch 'origin/rolling'
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" |