Add CI workflow and offline-aware startup

This commit is contained in:
thePR0M3TH3AN committed 2025-05-31 16:15:50 -04:00
1 parent 7b49366d10
commit 6cea763f73
2 files changed
+39 -1

No files matched your search

+5 -1
View File
@@ -16,7 +16,11 @@ DEFAULT_MODULE="scripts.lagged_oil_unrate_chart_styled"
# 1) Ensure pip & setuptools are up to date
echo "🛠 Upgrading pip & setuptools…"
pip install --upgrade pip setuptools
if [[ "${PIP_NO_INDEX:-}" == "1" ]]; then
echo "🔒 Offline mode detected; skipping upgrade"
else
pip install --upgrade pip setuptools
fi
# 2) Install project dependencies globally
echo "📦 Installing dependencies from $REQ_FILE…"