Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add github actions workflow to run sphinx-build for checking #219

Merged
merged 1 commit into from
Aug 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/pull-request-links.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# .github/workflows/pull-request-links.yaml

name: readthedocs/actions
on:
pull_request_target:
types:
- opened
# Execute this action only on PRs that touch
# documentation files.
# paths:
# - "docs/**"
on: [workflow_dispatch]
#pull_request_target:
# types:
# - opened
# # Execute this action only on PRs that touch
# # documentation files.
# # paths:
# # - "docs/**"

permissions:
pull-requests: write
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/sphinx-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: build

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install Requirements
run: |
pip install --upgrade pip
pip install -r requirements.txt
- name: Sphinx build - html
run: |
make html
- name: Sphinx build - pdf
run: |
apt install -y latexmk texlive-latex-extra
make latexpdf
- name: Sphinx build - epub
run: |
make epub
Loading