Skip to content

Commit

Permalink
fix ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-janssen committed Oct 11, 2024
1 parent 5a89ab4 commit 47d0280
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,36 +91,36 @@ jobs:
run: |
poetry run pytest
docs:
runs-on: ubuntu-latest

steps:
- name: Check out the repository
uses: actions/checkout@v3

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

# Install Poetry
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
export PATH="$HOME/.local/bin:$PATH"
# Install project with dev dependencies
- name: Install project with dev dependencies
run: |
poetry install --with dev
# Generate Sphinx Documentation with sphinx-apidoc
- name: Generate API Documentation with Sphinx
run: |
poetry run sphinx-apidoc -o docs/source codes
# Build HTML using Sphinx and output directly to docs/_build
- name: Build HTML with Sphinx
run: |
poetry run sphinx-build -b html docs/source docs/_build
docs:
runs-on: ubuntu-latest

steps:
- name: Check out the repository
uses: actions/checkout@v3

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

# Install Poetry
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
export PATH="$HOME/.local/bin:$PATH"
# Install project with dev dependencies
- name: Install project with dev dependencies
run: |
poetry install --with dev
# Generate Sphinx Documentation with sphinx-apidoc
- name: Generate API Documentation with Sphinx
run: |
poetry run sphinx-apidoc -o docs/source codes
# Build HTML using Sphinx and output directly to docs/_build
- name: Build HTML with Sphinx
run: |
poetry run sphinx-build -b html docs/source docs/_build

0 comments on commit 47d0280

Please sign in to comment.