mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-16 07:30:13 +01:00
fix: correct module path for all_cards.parquet generation in CI
Changed from non-existent code.web.services.card_loader to correct code.file_setup.card_aggregator.CardAggregator module. Fixes ModuleNotFoundError in build-similarity-cache workflow.
This commit is contained in:
parent
c2960c808e
commit
fc911b818e
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build-similarity-cache.yml
vendored
2
.github/workflows/build-similarity-cache.yml
vendored
|
|
@ -86,7 +86,7 @@ jobs:
|
||||||
- name: Build all_cards.parquet (needed for similarity cache, but not committed)
|
- name: Build all_cards.parquet (needed for similarity cache, but not committed)
|
||||||
if: steps.check_cache.outputs.needs_build == 'true'
|
if: steps.check_cache.outputs.needs_build == 'true'
|
||||||
run: |
|
run: |
|
||||||
python -c "from code.web.services.card_loader import CardCatalogLoader; loader = CardCatalogLoader(); df = loader.load(); print(f'Created all_cards.parquet with {len(df):,} cards')"
|
python -c "from code.file_setup.card_aggregator import CardAggregator; agg = CardAggregator(); stats = agg.aggregate_all('csv_files', 'card_files/all_cards.parquet'); print(f'Created all_cards.parquet with {stats[\"total_cards\"]:,} cards')"
|
||||||
|
|
||||||
- name: Build similarity cache (Parquet)
|
- name: Build similarity cache (Parquet)
|
||||||
if: steps.check_cache.outputs.needs_build == 'true'
|
if: steps.check_cache.outputs.needs_build == 'true'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue