mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
* Ported setup.py to pyproject.toml, refs #2553 * Make fixtures tests less flaky The in-memory fixtures table was being shared between different instances of the test client, leading to occasional errors when running the full test suite.
27 lines
799 B
YAML
27 lines
799 B
YAML
name: Check spelling in documentation
|
|
|
|
on: [push, pull_request]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
spellcheck:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: '3.11'
|
|
cache: 'pip'
|
|
cache-dependency-path: '**/pyproject.toml'
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -e '.[docs]'
|
|
- name: Check spelling
|
|
run: |
|
|
codespell README.md --ignore-words docs/codespell-ignore-words.txt
|
|
codespell docs/*.rst --ignore-words docs/codespell-ignore-words.txt
|
|
codespell datasette -S datasette/static --ignore-words docs/codespell-ignore-words.txt
|
|
codespell tests --ignore-words docs/codespell-ignore-words.txt
|