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

[MNT] remove docs build in ci for all pr #1712

Merged
merged 1 commit into from
Nov 11, 2024
Merged
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
40 changes: 0 additions & 40 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,43 +128,3 @@ jobs:
flags: cpu,pytest
name: CPU-coverage
fail_ci_if_error: false

docs:
name: Docs build
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Check out Git repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11

- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('docs/requirements.txt') }}
restore-keys: ${{ runner.os }}-pip-

- name: Install dependencies
run: |
sudo apt-get update --fix-missing
sudo apt-get install -y pandoc
pip install -r docs/requirements.txt

- name: Build sphinx documentation
working-directory: docs/
run: make html --debug --jobs 2 SPHINXOPTS="-W"

- name: Upload built docs
uses: actions/upload-artifact@v4
with:
name: docs-results-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.requires }}
path: docs/build/html/
# Use always() to always run this step to publish test results when there are test failures
#if: success()
Loading