Skip to content

Commit

Permalink
pin sphinx, skip doc build in test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tetov committed Apr 15, 2024
1 parent 160c0b0 commit 0a40856
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 30 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/test-publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,27 +32,15 @@ jobs:
run: |
python -m pip install --no-cache-dir -e .[dev]
- name: Build package
run: python -m build

- name: Test import
run: python -m compas_mrr

- name: Test
run: pytest

- name: Build docs
run: |
sphinx-apidoc \
--separate \
--module-first \
--no-toc \
--force \
--no-headings \
-o docs/reference src/compas_mrr
sphinx-build -b html docs dist/docs
# sphinx-build -b linkcheck docs dist/docs
- name: Build package
run: python -m build

ironpython-test:
name: windows-ironpython
runs-on: windows-latest
Expand Down Expand Up @@ -91,7 +79,6 @@ jobs:

publish-docs:
name: Publish docs
needs: build-and-test
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dev = [
"pytest",
"pytest-cov",
"ruff",
"sphinx",
"sphinx>=3.4,<=7.1.2",
"sphinx_compas_theme<1",
]

Expand Down
13 changes: 0 additions & 13 deletions setup.py

This file was deleted.

0 comments on commit 0a40856

Please sign in to comment.