id,seq,job,repo,uses,name,with,run,env,if 138851,4,27868,107914493,,Install Python dependencies,,"python -m pip install --upgrade pip python -m pip install -e .[test] python -m pip install pytest-cov ",, 138852,5,27868,107914493,,Run tests,,"ls -lah cat .coveragerc pytest --cov=datasette --cov-config=.coveragerc --cov-report xml:coverage.xml --cov-report term ls -lah",, 138853,6,27868,107914493,codecov/codecov-action@v1,Upload coverage report,"{""token"": ""${{ secrets.CODECOV_TOKEN }}"", ""file"": ""coverage.xml""}",,, 138854,1,27869,107914493,actions/checkout@v3,,,,, 138855,2,27869,107914493,actions/setup-python@v3,Set up Python 3.10,"{""python-version"": ""3.10"", ""cache"": ""pip"", ""cache-dependency-path"": ""**/setup.py""}",,, 138856,3,27869,107914493,actions/cache@v2,Cache Playwright browsers,"{""path"": ""~/.cache/ms-playwright/"", ""key"": ""${{ runner.os }}-browsers""}",,, 138857,4,27869,107914493,,Install Playwright dependencies,,"pip install shot-scraper build shot-scraper install ",, 138858,5,27869,107914493,,Run test,,"./test-in-pyodide-with-shot-scraper.sh ",, 138859,1,27870,107914493,actions/checkout@v3,,,,, 138860,2,27870,107914493,actions/setup-python@v4,Set up Python ${{ matrix.python-version }},"{""python-version"": ""${{ matrix.python-version }}"", ""allow-prereleases"": true}",,, 138861,3,27870,107914493,actions/cache@v3,Configure pip caching,"{""path"": ""~/.cache/pip"", ""key"": ""${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}"", ""restore-keys"": ""${{ runner.os }}-pip-\n""}",,, 138862,4,27870,107914493,,Build extension for --load-extension test,,(cd tests && gcc ext.c -fPIC -shared -o ext.so),, 138863,5,27870,107914493,,Install dependencies,,"pip install -e '.[test]' pip freeze ",, 138864,6,27870,107914493,,Run tests,,"pytest -n auto -m ""not serial"" pytest -m ""serial"" # And the test that exceeds a localhost HTTPS server tests/test_datasette_https_server.sh ",, 138865,7,27870,107914493,,Install docs dependencies on Python 3.9+,,"pip install -e '.[docs]' ",,matrix.python-version != '3.8' 138866,8,27870,107914493,,Check if cog needs to be run,,"cog --check docs/*.rst ",,matrix.python-version != '3.8' 138867,9,27870,107914493,,Check if blacken-docs needs to be run,,"# This fails on syntax errors, or a diff was applied blacken-docs -l 60 docs/*.rst ",,matrix.python-version != '3.8' 138868,10,27870,107914493,,Test DATASETTE_LOAD_PLUGINS,,"pip install datasette-init datasette-json-html tests/test-datasette-load-plugins.sh ",, 138869,1,27871,107914493,actions/checkout@v2,,,,, 138870,2,27871,107914493,mxschmitt/action-tmate@v3,Setup tmate session,,,, 138871,1,27872,107914493,actions/checkout@v2,,,,, 138872,2,27872,107914493,mxschmitt/action-tmate@v3,Setup tmate session,,,, 138873,1,27873,140912432,actions/checkout@v2,Checkout repository,"{""fetch-depth"": 2}",,, 138874,2,27873,140912432,,,,git checkout HEAD^2,,${{ github.event_name == 'pull_request' }} 138875,3,27873,140912432,github/codeql-action/init@v1,Initialize CodeQL,"{""languages"": ""${{ matrix.language }}""}",,, 138876,4,27873,140912432,github/codeql-action/autobuild@v1,Autobuild,,,, 138877,5,27873,140912432,github/codeql-action/analyze@v1,Perform CodeQL Analysis,,,, 138878,1,27874,140912432,readthedocs/actions/preview@v1,,"{""project-slug"": ""sqlite-utils""}",,, 138879,1,27875,140912432,actions/checkout@v3,,,,, 138880,2,27875,140912432,actions/setup-python@v4,Set up Python ${{ matrix.python-version }},"{""python-version"": ""${{ matrix.python-version }}""}",,, 138881,3,27875,140912432,actions/cache@v3,Configure pip caching,"{""path"": ""~/.cache/pip"", ""key"": ""${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}"", ""restore-keys"": ""${{ runner.os }}-pip-\n""}",,, 138882,4,27875,140912432,,Install dependencies,,"pip install -e '.[test]' ",, 138883,5,27875,140912432,,Run tests,,"pytest ",, 138884,1,27876,140912432,actions/checkout@v3,,,,, 138885,2,27876,140912432,actions/setup-python@v4,Set up Python,"{""python-version"": ""3.12""}",,, 138886,3,27876,140912432,actions/cache@v3,Configure pip caching,"{""path"": ""~/.cache/pip"", ""key"": ""${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}"", ""restore-keys"": ""${{ runner.os }}-publish-pip-\n""}",,, 138887,4,27876,140912432,,Install dependencies,,"pip install setuptools wheel twine ",, 138888,5,27876,140912432,,Publish,,"python setup.py sdist bdist_wheel twine upload dist/* ","{""TWINE_USERNAME"": ""__token__"", ""TWINE_PASSWORD"": ""${{ secrets.PYPI_TOKEN }}""}", 138889,1,27877,140912432,actions/checkout@v2,,,,, 138890,2,27877,140912432,actions/setup-python@v2,Set up Python ${{ matrix.python-version }},"{""python-version"": 3.9}",,, 138891,3,27877,140912432,actions/cache@v2,Configure pip caching,"{""path"": ""~/.cache/pip"", ""key"": ""${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}"", ""restore-keys"": ""${{ runner.os }}-pip-\n""}",,, 138892,4,27877,140912432,,Install dependencies,,"pip install -e '.[docs]' ",, 138893,5,27877,140912432,,Check spelling,,"codespell docs/*.rst --ignore-words docs/codespell-ignore-words.txt codespell sqlite_utils --ignore-words docs/codespell-ignore-words.txt ",, 138894,1,27878,140912432,actions/checkout@v2,Check out repo,,,, 138895,2,27878,140912432,actions/setup-python@v2,Set up Python,"{""python-version"": 3.9}",,, 138896,3,27878,140912432,actions/cache@v2,Configure pip caching,"{""path"": ""~/.cache/pip"", ""key"": ""${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}"", ""restore-keys"": ""${{ runner.os }}-pip-\n""}",,, 138897,4,27878,140912432,,Install SpatiaLite,,sudo apt-get install libsqlite3-mod-spatialite,, 138898,5,27878,140912432,,Install Python dependencies,,"python -m pip install --upgrade pip python -m pip install -e .[test] python -m pip install pytest-cov ",, 138899,6,27878,140912432,,Run tests,,"ls -lah pytest --cov=sqlite_utils --cov-report xml:coverage.xml --cov-report term ls -lah",, 138900,7,27878,140912432,codecov/codecov-action@v1,Upload coverage report,"{""token"": ""${{ secrets.CODECOV_TOKEN }}"", ""file"": ""coverage.xml""}",,, 138901,1,27879,140912432,actions/checkout@v3,,,,, 138902,2,27879,140912432,actions/setup-python@v4,Set up Python ${{ matrix.python-version }},"{""python-version"": ""${{ matrix.python-version }}""}",,, 138903,3,27879,140912432,actions/cache@v3,Configure pip caching,"{""path"": ""~/.cache/pip"", ""key"": ""${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}"", ""restore-keys"": ""${{ runner.os }}-pip-\n""}",,, 138904,4,27879,140912432,,Install dependencies,,"pip install -e '.[test,mypy,flake8]' ",, 138905,5,27879,140912432,,Optionally install tui dependencies (not 3.7),,pip install -e '.[tui]',,matrix.python-version != '3.7' 138906,6,27879,140912432,,Optionally install numpy,,pip install numpy,,matrix.numpy == 1 138907,7,27879,140912432,,Install SpatiaLite,,sudo apt-get install libsqlite3-mod-spatialite,,matrix.os == 'ubuntu-latest' 138908,8,27879,140912432,,On macOS with Python 3.10 test with sqlean.py,,pip install sqlean.py sqlite-dump,,matrix.os == 'macos-latest' && matrix.python-version == '3.10' 138909,9,27879,140912432,,Build extension for --load-extension test,,(cd tests && gcc ext.c -fPIC -shared -o ext.so && ls -lah),,matrix.os == 'ubuntu-latest' 138910,10,27879,140912432,,Run tests,,"pytest -v ",, 138911,11,27879,140912432,,run mypy,,mypy sqlite_utils tests,, 138912,12,27879,140912432,,run flake8 if Python 3.8 or higher,,flake8,,matrix.python-version >= 3.8 138913,13,27879,140912432,,Check formatting,,black . --check,, 138914,14,27879,140912432,,Check if cog needs to be run,,"cog --check README.md docs/*.rst ",,matrix.python-version != '3.7'