Skip to content

ci: Add spinx related job #1

ci: Add spinx related job

ci: Add spinx related job #1

Workflow file for this run

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