debugging CI
This commit is contained in:
19
.github/workflows/preview-docs.yml
vendored
19
.github/workflows/preview-docs.yml
vendored
@@ -10,7 +10,7 @@ on:
|
|||||||
- '**/*.qmd' # any Quarto file
|
- '**/*.qmd' # any Quarto file
|
||||||
- '_quarto.yml'
|
- '_quarto.yml'
|
||||||
- docs/scripts/generate_config_docs.py
|
- docs/scripts/generate_config_docs.py
|
||||||
- src/axolotl/**/*.py
|
- src/axolotl/utils/schemas/**.py
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
checks: write
|
checks: write
|
||||||
@@ -45,23 +45,8 @@ jobs:
|
|||||||
python3 -m pip install jupyter quartodoc
|
python3 -m pip install jupyter quartodoc
|
||||||
python3 -m pip install -e .
|
python3 -m pip install -e .
|
||||||
|
|
||||||
- name: Debug versions
|
|
||||||
run: |
|
|
||||||
echo "Python version:"
|
|
||||||
python3 --version
|
|
||||||
echo "Pip list:"
|
|
||||||
pip list | grep -E "(quartodoc|jupyter|axolotl)"
|
|
||||||
echo "Quartodoc version:"
|
|
||||||
python3 -c "import quartodoc; print(quartodoc.__version__)"
|
|
||||||
echo "Current working directory:"
|
|
||||||
pwd
|
|
||||||
echo "Directory contents:"
|
|
||||||
ls -la
|
|
||||||
|
|
||||||
- name: Build autodoc
|
- name: Build autodoc
|
||||||
run: |
|
run: quartodoc build
|
||||||
echo "Running quartodoc build with verbose output..."
|
|
||||||
quartodoc build --verbose
|
|
||||||
|
|
||||||
- name: Quarto render
|
- name: Quarto render
|
||||||
run: quarto render
|
run: quarto render
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ def generate_config_files(config: str, sweep: str | None) -> Iterator[tuple[str,
|
|||||||
sweep: Sweep configuration file
|
sweep: Sweep configuration file
|
||||||
|
|
||||||
Yields:
|
Yields:
|
||||||
tuple[str, bool]: Configuration file name and whether this is a group of configurations
|
Configuration file name and whether this is a group of configurations
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if not sweep:
|
if not sweep:
|
||||||
|
|||||||
Reference in New Issue
Block a user