Skip to content

Commit a94803b

Browse files
committed
ci: initialize mirror for fresh index e2e homes
1 parent 063b81f commit a94803b

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

tests/e2e/42_custom_local_index.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ TMP=$(mktemp -d)
1010
trap "rm -rf $TMP" EXIT
1111

1212
export MCPP_HOME="$TMP/mcpp-home"
13+
"$MCPP" self config --mirror "${MCPP_E2E_TOOLCHAIN_MIRROR:-GLOBAL}" >/dev/null
1314

1415
# ── 1. Create a fake local index directory ──────────────────────────────
1516
INDEX_DIR="$TMP/my-local-index"

tests/e2e/43_indices_lockfile.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ TMP=$(mktemp -d)
99
trap "rm -rf $TMP" EXIT
1010

1111
export MCPP_HOME="$TMP/mcpp-home"
12+
"$MCPP" self config --mirror "${MCPP_E2E_TOOLCHAIN_MIRROR:-GLOBAL}" >/dev/null
1213

1314
# ── 1. Create a fake local index directory ──────────────────────────────
1415
INDEX_DIR="$TMP/my-local-index"

tests/e2e/44_indices_e2e_integration.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ trap "rm -rf $TMP" EXIT
1212

1313
export MCPP_HOME="$TMP/mcpp-home"
1414
export MCPP_NO_AUTO_INSTALL=1
15+
"$MCPP" self config --mirror "${MCPP_E2E_TOOLCHAIN_MIRROR:-GLOBAL}" >/dev/null
1516

1617
# ── 1. Local path index with real xpkg.lua ────────────────────────────
1718
INDEX_DIR="$TMP/my-local-index"

0 commit comments

Comments
 (0)