diff options
author | opalmay <[email protected]> | 2023-02-17 17:41:45 +0200 |
---|---|---|
committer | opalmay <[email protected]> | 2023-02-24 17:18:10 +0200 |
commit | bddae6bb56e16c02bf97e1eb88f64daa259b2ee1 (patch) | |
tree | 5c4de381d0f2f406b3778dc60b092c7777d860e3 /utils/ci/run_test.sh | |
parent | f67df8471cdc2c32697a536687b81446b6f89959 (diff) |
fix(ci): empty cache/config
Diffstat (limited to 'utils/ci/run_test.sh')
-rw-r--r-- | utils/ci/run_test.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/ci/run_test.sh b/utils/ci/run_test.sh index 8b7ebe71..9b659a61 100644 --- a/utils/ci/run_test.sh +++ b/utils/ci/run_test.sh @@ -8,6 +8,14 @@ export LUNARVIM_BASE_DIR="$LUNARVIM_DATA_DIR/core" export LVIM_TEST_ENV=true +# we should start with an empty configuration +XDG_CACHE_HOME="$(mktemp -d)" +XDG_CONFIG_HOME="$(mktemp -d)" + +export XDG_CACHE_HOME XDG_CONFIG_HOME + +printf "cache_dir: %s\nconfig_dir: %s\n" "$XDG_CACHE_HOME" "$XDG_CONFIG_HOME" + lvim() { nvim -u "$LUNARVIM_BASE_DIR/tests/minimal_init.lua" "$@" } |