doc CD: replaced dummy database by a partial real database for rendering examples

This commit is contained in:
Nicolas Kruse 2025-06-06 13:44:13 +02:00
parent a65dbee17d
commit 90b3c77ae1
1 changed files with 5 additions and 3 deletions

View File

@ -19,9 +19,11 @@ jobs:
python-version: "3.x"
- name: Install gaspype and dependencies
run: |
echo "Create a dummy file to ensure gaspype does't crash"
mkdir -p src/gaspype/data
printf 'gapy\x00\x00\x00\x00' > src/gaspype/data/therm_data.bin
#echo "Create a dummy file to ensure gaspype does't crash"
#mkdir -p src/gaspype/data
#printf 'gapy\x00\x00\x00\x00' > src/gaspype/data/therm_data.bin
python thermo_data/combine_data.py thermo_data/combined_data.yaml thermo_data/nasa9*.yaml
python thermo_data/compile_to_bin.py thermo_data/combined_data.yaml src/gaspype/data/therm_data.bin
pip install .[doc_build]
python -m ipykernel install --user --name temp_kernel --display-name "Python (temp_kernel)"
- name: Generate Docs