Skip to content

Commit

Permalink
FIX check doc workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tomMoral committed Jul 30, 2024
1 parent d2a7b28 commit d1c555d
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions .github/workflows/check_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,38 @@ on:

jobs:
docs:
name: Check Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: false

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
python-version: '3.8'

- name: Cache dependency
id: cache-dependencies
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip

- name: Install sbi and dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[doc]
- name: Build documentation
run: |
cd docs
mkdocs build
- uses: actions/upload-artifact@v1
with:
name: DocumentationHTML
path: site/
path: docs/site/

0 comments on commit d1c555d

Please sign in to comment.