Skip to content

ci(pre-commit): autoupdate hook versions #4442

ci(pre-commit): autoupdate hook versions

ci(pre-commit): autoupdate hook versions #4442

Workflow file for this run

name: Test docs
on:
push:
branches:
- master
pull_request:
jobs:
docs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-tags: true
- name: Load cached Poetry installation
uses: actions/cache@v3
with:
path: ~/.local
key: poetry-0
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: poetry
cache-dependency-path: pyproject.toml
- name: Export dependencies
run: poetry export --no-interaction -f requirements.txt --output requirements.txt --with docs,dev -E voice -E speed
- name: Install dependencies
run: pip install -r requirements.txt
- name: Compile docs
run: |
cd docs
make html