Skip to content

Commit

Permalink
CI: remove enchant setup on macos; only run spelling check on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Cielquan committed Mar 23, 2024
1 parent 448bf41 commit 8802dcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/test-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 8802dcb

Please sign in to comment.