mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-03-11 17:49:25 -05:00
Fix pre-commit fallback dependency install
Install rich in validate-dev pre-commit step so book hooks still run when full requirements install partially fails.
This commit is contained in:
2
.github/workflows/book-validate-dev.yml
vendored
2
.github/workflows/book-validate-dev.yml
vendored
@@ -105,6 +105,8 @@ jobs:
|
||||
|
||||
echo "📦 Installing project dependencies for custom hooks..."
|
||||
pip install -r requirements.txt || echo "⚠️ Could not install all requirements, continuing..."
|
||||
echo "📦 Installing fallback hook dependencies..."
|
||||
pip install rich || echo "⚠️ Could not install rich, continuing..."
|
||||
|
||||
echo "🔧 Installing pre-commit hooks..."
|
||||
pre-commit install --install-hooks
|
||||
|
||||
Reference in New Issue
Block a user