Merge pull request #180 from data-engineering-collective/pre-commit-a… #549
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- "main" | |
- "pre-commit-autoupdate" | |
tags: | |
- "*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v4 | |
- name: Setup Conda Environment | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
miniforge-variant: Miniforge3 | |
miniforge-version: 24.9.2-0 | |
use-mamba: true | |
environment-file: docs/environment-docs.yml | |
activate-environment: plateau-docs | |
python-version: 3.12 | |
- name: List conda | |
shell: bash -l {0} | |
run: conda list | |
- name: Build docs | |
shell: bash -l {0} | |
run: | | |
python -m pip install --no-build-isolation --no-deps -e . | |
sphinx-build -b html docs docs/_build |