Skip to content

Test building sphinx doc #22

Test building sphinx doc

Test building sphinx doc #22

Workflow file for this run

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (c) 2024 Petr Vorel <[email protected]>
name: "Test building sphinx doc"
on:
push:
paths: ['doc/**']
pull_request:
paths: ['doc/**']
permissions: {}
jobs:
sphinx:
runs-on: ubuntu-latest
steps:
- name: Checkout LTP
uses: actions/checkout@v2
with:
path: ltp
- name: Install sphinx
run: |
sudo apt update
sudo apt install python3-sphinx python3-virtualenv
- name: Install sphinx dependencies
run: |
cd "$GITHUB_WORKSPACE/ltp/doc/"
python3 -m virtualenv .venv
. .venv/bin/activate
pip install -r requirements.txt
- name: Build doc
run: |
cd "$GITHUB_WORKSPACE/ltp/doc/"
. .venv/bin/activate
make