Bump sphinx from 6.1.3 to 7.1.1 #1698
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: actions/cache@v3 | |
name: Configure pip caching | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Build extension for --load-extension test | |
run: |- | |
(cd tests && gcc ext.c -fPIC -shared -o ext.so) | |
- name: Install dependencies | |
run: | | |
pip install -e '.[test,docs]' | |
pip freeze | |
- name: Run tests | |
run: | | |
pytest -n auto -m "not serial" | |
pytest -m "serial" | |
# And the test that exceeds a localhost HTTPS server | |
tests/test_datasette_https_server.sh | |
- name: Check if cog needs to be run | |
run: | | |
cog --check docs/*.rst | |
- name: Check if blacken-docs needs to be run | |
run: | | |
# This fails on syntax errors, or a diff was applied | |
blacken-docs -l 60 docs/*.rst |