Skip to content

Commit

Permalink
Update docs ci
Browse files Browse the repository at this point in the history
  • Loading branch information
willingc committed Nov 17, 2023
1 parent af6ab4d commit 999c196
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 22 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,21 @@ jobs:
- name: "Run tests for ${{ matrix.python-version }}"
run: hatch run test:no-cov

docs:
name: Documentation
runs-on: "ubuntu-latest"
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: "Install doc dependencies"
run: |
set -xe
python -m pip install --upgrade pip
pip install hatch
- name: "Build docs"
run: hatch run docs:build-ci
24 changes: 2 additions & 22 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ azure = [
"azure-storage-blob >= 12.1.0",
"requests >= 2.21.0",
]
black = [
"black >= 23.11.0",
]
dev = [
"attrs>=17.4.0",
"azure-datalake-store >= 0.0.30",
Expand Down Expand Up @@ -99,24 +96,6 @@ dev = [
"twine>=1.11.0",
"wheel>=0.31.0",
]
docs = [
"azure-datalake-store >= 0.0.30",
"azure-identity>=1.3.1",
"azure-storage-blob >= 12.1.0",
"black >= 23.11.0",
"boto3",
"entrypoints",
"furo>=2023.9.10",
"gcsfs>=0.2.0",
"moto>=4.2.8",
"myst-parser>=2.0.0",
"nbformat",
"pyarrow >= 2.0",
"PyGithub >= 1.55",
"requests >= 2.21.0",
"sphinx-copybutton>=0.5.2",
"Sphinx>=7.2.6",
]
gcs = [
"gcsfs>=0.2.0",
]
Expand Down Expand Up @@ -247,7 +226,8 @@ extra-dependencies = [
"Sphinx>=7.2.6",
]
[tool.hatch.envs.docs.scripts]
build = "sphinx-build docs _build"
build = "sphinx-build -d docs docs_out --color -W -bhtml"
build-ci = "sphinx-build -d docs docs_out --color -W -bhtml"

[tool.pytest.ini_options]
minversion = "6.0"
Expand Down

0 comments on commit 999c196

Please sign in to comment.