Skip to content

Commit

Permalink
Add python workflow for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
PatriceJada committed Aug 17, 2022
1 parent 9dc285f commit f9f0476
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test docs

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install pip
run: |
python -m pip install --upgrade pip
- name: Install requirements
run: |
python -m pip install -r docs/requirements.txt
- name: Test docs
run: |
cd ./docs && make html -d

0 comments on commit f9f0476

Please sign in to comment.