Skip to content

Commit 6323805

Browse files
author
Minh Hai Chu
authored
Verify critical dependencies in CI/CD workflow
Added verification for critical dependencies in CI workflow.
1 parent 0933d0e commit 6323805

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/cicd.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,16 @@ jobs:
7878
run: |
7979
source venv/bin/activate
8080
pip install -e . --no-deps
81+
echo "Verifying critical dependencies:"
82+
python3 -c "import mlonmcu; print(f'✓ mlonmcu: {mlonmcu.__file__}')" || {
83+
echo "ERROR: mlonmcu import failed, reinstalling..."
84+
pip install -e .
85+
}
86+
python3 -c "import tensorflow; print(f'✓ tensorflow: {tensorflow.__version__}')" || {
87+
echo "WARNING: tensorflow missing, installing all dependencies..."
88+
pip install -e .
89+
}
90+
python3 -c "import mlonmcu.setup.gen_requirements; print('✓ mlonmcu.setup accessible')"
8191
8292
- name: Cache MLonMCU workspace
8393
id: cache-mlonmcu

0 commit comments

Comments
 (0)