diff --git a/.github/workflows/test-docs.yml b/.github/workflows/test-docs.yml index 072ed4b..bb3c32a 100644 --- a/.github/workflows/test-docs.yml +++ b/.github/workflows/test-docs.yml @@ -46,22 +46,10 @@ jobs: - name: Install tox run: python -m pip install --upgrade tox - - name: Set up Homebrew - if: runner.os == 'macOS' - uses: Homebrew/actions/setup-homebrew@master - - - name: Install enchant on macOS - if: runner.os == 'macOS' - run: | - brew update - brew install enchant - - - name: Run tests with tox except linkcheck + - name: Run tests with tox except linkcheck and spelling if: runner.os != 'Linux' run: tox -m docs - env: - TOX_SKIP_ENV: docs-test-linkcheck - name: Run all tests with tox if: runner.os == 'Linux' - run: tox -m docs + run: tox -m docs-full diff --git a/tox.ini b/tox.ini index 68651f2..4f6b1da 100644 --- a/tox.ini +++ b/tox.ini @@ -19,7 +19,8 @@ labels = py3.9 = py39,coverage-all py3.10 = py310,coverage-all py3.11 = py311,coverage-all - docs = docs-test-{html,linkcheck,coverage,doctest,spelling} + docs = docs-test-{html,coverage,doctest} + docs-full = docs-test-{html,linkcheck,coverage,doctest,spelling} [testenv]