Skip to content

Commit

Permalink
ci: Add spinx related job
Browse files Browse the repository at this point in the history
Signed-off-by: Petr Vorel <pvorel@suse.cz>
  • Loading branch information
pevik committed May 6, 2024
1 parent 8cb6129 commit e9a970d
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci-sphinx-doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 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

0 comments on commit e9a970d

Please sign in to comment.