mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-16 07:30:13 +01:00
fix: ensure theme catalog is generated before similarity cache build
This commit is contained in:
parent
8e8b788091
commit
3694a5382d
1 changed files with 6 additions and 0 deletions
6
.github/workflows/build-similarity-cache.yml
vendored
6
.github/workflows/build-similarity-cache.yml
vendored
|
|
@ -89,6 +89,12 @@ jobs:
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Verify theme catalog was generated
|
||||
if [ ! -f "config/themes/theme_catalog.csv" ]; then
|
||||
echo "WARNING: Theme catalog not found, generating..."
|
||||
python -c "from code.deck_builder.theme_catalog_loader import generate_theme_catalog; generate_theme_catalog()"
|
||||
fi
|
||||
|
||||
# Detailed check of what tags were actually written
|
||||
python -c "
|
||||
import pandas as pd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue