Skip to content

Quarto docs rendering CI testing #1294

Quarto docs rendering CI testing

Quarto docs rendering CI testing #1294

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
push:
branches: [master]
jobs:
test:
strategy:
fail-fast: true
matrix:
os: [ubuntu, macos]
version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
runs-on: ${{ matrix.os }}-latest
steps:
- uses: fastai/workflows/nbdev-ci@master
with:
version: ${{ matrix.version }}
pre: 1
- name: test docs build
if: ${{ (github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch') && matrix.version == '3.10' && matrix.os == 'ubuntu' }}
run: |
set -ux
wget -q $(curl https://latest.fast.ai/pre/quarto-dev/quarto-cli/linux-amd64.deb)
sudo dpkg -i quarto*.deb
nbdev_docs
if [ -f "_docs/index.html" ]; then
echo "docs built successfully."
else
echo "index page not found in rendered docs."
ls -la
ls -la _docs
exit 1
fi