github
id | seq | job | repo | uses | name | with | run | env | if |
---|---|---|---|---|---|---|---|---|---|
137057 | 4 | 27507 | 140912432 | Install SpatiaLite | sudo apt-get install libsqlite3-mod-spatialite | ||||
137066 | 6 | 27508 | 140912432 | Install SpatiaLite | sudo apt-get install libsqlite3-mod-spatialite | matrix.os == 'ubuntu-latest' | |||
136869 | 8 | 27466 | 207052882 | Fetch releases, commits, issues, contributors | sqlite-utils github.db "select full_name from repos where owner = 53015001 union select 'simonw/datasette' as full_name union select 'simonw/sqlite-utils' as full_name" \ --csv --no-headers | while read repo; do github-to-sqlite releases \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite commits \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite tags \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite contributors \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite issues \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite pull-requests \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite issue-comments \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite stargazers \ github.db $(echo $repo | tr -d '\r'); sleep 10; github-to-sqlite workflows \ github.db $(echo $repo | tr -d '\r'); sleep 10; done; # Scrape dependents github-to-sqlite scrape-dependents github.db simonw/datasette simonw/sqlite-utils -v sqlite-utils tables --counts github.db # Delete email addresses from raw_authors sqlite-utils github.db "update raw_authors set email = ''" # Fetch emojis github-to-sqlite emojis github.db --fetch # Rebuild FTS tables sqlite-utils rebuild-fts github.db # Populate _analyze_tables_ table sqlite-utils analyze-tables github.db --save | ||||
137002 | 2 | 27494 | 107914493 | Build and push to Docker Hub | sleep 60 # Give PyPI time to make the new release available docker login -u $DOCKER_USER -p $DOCKER_PASS export REPO=datasetteproject/datasette docker build -f Dockerfile \ -t $REPO:${GITHUB_REF#refs/tags/} \ --build-arg VERSION=${GITHUB_REF#refs/tags/} . docker tag $REPO:${GITHUB_REF#refs/tags/} $REPO:latest docker push $REPO:${GITHUB_REF#refs/tags/} docker push $REPO:latest | {"DOCKER_USER": "${{ secrets.DOCKER_USER }}", "DOCKER_PASS": "${{ secrets.DOCKER_PASS }}"} | |||
136972 | 6 | 27488 | 107914493 | Build fixtures.db | python tests/fixtures.py fixtures.db fixtures.json plugins --extra-db-filename extra_database.db | ||||
136836 | 5 | 27460 | 197431109 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136856 | 5 | 27464 | 303218369 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136882 | 5 | 27468 | 207052882 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136900 | 5 | 27472 | 248903544 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136915 | 5 | 27475 | 197882382 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136940 | 4 | 27481 | 205429375 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136954 | 5 | 27484 | 206156866 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136993 | 5 | 27492 | 107914493 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
137048 | 5 | 27505 | 140912432 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136997 | 4 | 27493 | 107914493 | Install dependencies | python -m pip install -e .[docs] python -m pip install sphinx-to-sqlite==0.1a1 | ||||
137013 | 4 | 27497 | 107914493 | Install Python dependencies | python -m pip install --upgrade pip python -m pip install -e .[test] python -m pip install pytest-cov | ||||
137058 | 5 | 27507 | 140912432 | Install Python dependencies | python -m pip install --upgrade pip python -m pip install -e .[test] python -m pip install pytest-cov | ||||
136970 | 4 | 27488 | 107914493 | Install Python dependencies | python -m pip install --upgrade pip python -m pip install -e .[test] python -m pip install -e .[docs] python -m pip install sphinx-to-sqlite==0.1a1 | ||||
136865 | 4 | 27466 | 207052882 | Install Python dependencies | python -m pip install --upgrade pip pip install sqlite-utils>=3.1 sqlite-utils --version pip install -e . pip install datasette pip install bs4 | ||||
136845 | 4 | 27462 | 256834907 | Install dependencies | python -m pip install --upgrade pip pip install -e .[test] | ||||
136821 | 4 | 27457 | 611552758 | Publish | python -m build twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136928 | 4 | 27478 | 213286752 | Publish | python -m build twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136831 | 5 | 27459 | 197431109 | Run tests | pytest -v | ||||
136841 | 5 | 27461 | 197431109 | Run tests | pytest -v | ||||
137069 | 9 | 27508 | 140912432 | Run tests | pytest -v | ||||
137026 | 6 | 27499 | 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 | ||||
136971 | 5 | 27488 | 107914493 | Run tests | pytest -n auto -m "not serial" pytest -m "serial" | ${{ github.ref == 'refs/heads/main' }} | |||
136817 | 4 | 27456 | 611552758 | Run tests | pytest | ||||
136825 | 4 | 27458 | 611552758 | Run tests | pytest | ||||
136846 | 5 | 27462 | 256834907 | Test with pytest | pytest | ||||
136851 | 5 | 27463 | 303218369 | Run tests | pytest | ||||
136861 | 5 | 27465 | 303218369 | Run tests | pytest | ||||
136877 | 5 | 27467 | 207052882 | Run tests | pytest | ||||
136890 | 5 | 27470 | 207052882 | Run tests | pytest | ||||
136895 | 5 | 27471 | 248903544 | Run tests | pytest | ||||
136905 | 5 | 27473 | 248903544 | Run tests | pytest | ||||
136910 | 5 | 27474 | 197882382 | Run tests | pytest | ||||
136920 | 5 | 27476 | 197882382 | Run tests | pytest | ||||
136924 | 4 | 27477 | 213286752 | Run tests | pytest | ||||
136932 | 4 | 27479 | 213286752 | Run tests | pytest | ||||
136936 | 4 | 27480 | 205429375 | Run tests | pytest | ||||
136944 | 4 | 27482 | 205429375 | Run tests | pytest | ||||
136949 | 5 | 27483 | 206156866 | Run tests | pytest | ||||
136962 | 5 | 27486 | 206156866 | Run tests | pytest | ||||
136988 | 5 | 27491 | 107914493 | Run tests | pytest | ||||
137043 | 5 | 27504 | 140912432 | Run tests | pytest | ||||
137067 | 7 | 27508 | 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' | |||
137019 | 4 | 27498 | 107914493 | Install Playwright dependencies | pip install shot-scraper build shot-scraper install | ||||
136820 | 3 | 27457 | 611552758 | Install dependencies | pip install setuptools wheel twine build | ||||
136927 | 3 | 27478 | 213286752 | Install dependencies | pip install setuptools wheel twine build | ||||
136835 | 4 | 27460 | 197431109 | Install dependencies | pip install setuptools wheel twine | ||||
136855 | 4 | 27464 | 303218369 | Install dependencies | pip install setuptools wheel twine | ||||
136881 | 4 | 27468 | 207052882 | Install dependencies | pip install setuptools wheel twine | ||||
136899 | 4 | 27472 | 248903544 | Install dependencies | pip install setuptools wheel twine | ||||
136914 | 4 | 27475 | 197882382 | Install dependencies | pip install setuptools wheel twine | ||||
136939 | 3 | 27481 | 205429375 | Install dependencies | pip install setuptools wheel twine | ||||
136953 | 4 | 27484 | 206156866 | Install dependencies | pip install setuptools wheel twine | ||||
136992 | 4 | 27492 | 107914493 | Install dependencies | pip install setuptools wheel twine | ||||
137047 | 4 | 27505 | 140912432 | Install dependencies | pip install setuptools wheel twine | ||||
137065 | 5 | 27508 | 140912432 | Optionally install numpy | pip install numpy | matrix.numpy == 1 | |||
136965 | 3 | 27487 | 107914493 | Install dependencies | pip install datasette-publish-vercel | ||||
136830 | 4 | 27459 | 197431109 | Install dependencies | pip install -e '.[test]' | ||||
136840 | 4 | 27461 | 197431109 | Install dependencies | pip install -e '.[test]' | ||||
136850 | 4 | 27463 | 303218369 | Install dependencies | pip install -e '.[test]' | ||||
136860 | 4 | 27465 | 303218369 | Install dependencies | pip install -e '.[test]' | ||||
136876 | 4 | 27467 | 207052882 | Install dependencies | pip install -e '.[test]' | ||||
136889 | 4 | 27470 | 207052882 | Install dependencies | pip install -e '.[test]' | ||||
136894 | 4 | 27471 | 248903544 | Install dependencies | pip install -e '.[test]' | ||||
136904 | 4 | 27473 | 248903544 | Install dependencies | pip install -e '.[test]' | ||||
136909 | 4 | 27474 | 197882382 | Install dependencies | pip install -e '.[test]' | ||||
136919 | 4 | 27476 | 197882382 | Install dependencies | pip install -e '.[test]' | ||||
136935 | 3 | 27480 | 205429375 | Install dependencies | pip install -e '.[test]' | ||||
136943 | 3 | 27482 | 205429375 | Install dependencies | pip install -e '.[test]' | ||||
136948 | 4 | 27483 | 206156866 | Install dependencies | pip install -e '.[test]' | ||||
136961 | 4 | 27486 | 206156866 | Install dependencies | pip install -e '.[test]' | ||||
136987 | 4 | 27491 | 107914493 | Install dependencies | pip install -e '.[test]' | ||||
137042 | 4 | 27504 | 140912432 | Install dependencies | pip install -e '.[test,tui]' | ||||
137064 | 4 | 27508 | 140912432 | Install dependencies | pip install -e '.[test,mypy,flake8,tui]' | ||||
137025 | 5 | 27499 | 107914493 | Install dependencies | pip install -e '.[test,docs]' pip freeze | ||||
137008 | 4 | 27496 | 107914493 | Install dependencies | pip install -e '.[docs]' | ||||
137052 | 4 | 27506 | 140912432 | Install dependencies | pip install -e '.[docs]' | ||||
136816 | 3 | 27456 | 611552758 | Install dependencies | pip install '.[test]' | ||||
136824 | 3 | 27458 | 611552758 | Install dependencies | pip install '.[test]' | ||||
136923 | 3 | 27477 | 213286752 | Install dependencies | pip install '.[test]' | ||||
136931 | 3 | 27479 | 213286752 | Install dependencies | pip install '.[test]' | ||||
136884 | 2 | 27469 | 207052882 | Update TOC | npx markdown-toc README.md -i | ||||
136956 | 2 | 27485 | 206156866 | Update TOC | npx markdown-toc README.md -i | ||||
136983 | 4 | 27490 | 107914493 | Run prettier | npm run prettier -- --check | ||||
136982 | 3 | 27490 | 107914493 | Install dependencies | npm ci | ||||
137070 | 10 | 27508 | 140912432 | run mypy | mypy sqlite_utils tests | ||||
137059 | 6 | 27507 | 140912432 | Run tests | ls -lah pytest --cov=sqlite_utils --cov-report xml:coverage.xml --cov-report term ls -lah | ||||
137014 | 5 | 27497 | 107914493 | Run tests | ls -lah cat .coveragerc pytest --cov=datasette --cov-config=.coveragerc --cov-report xml:coverage.xml --cov-report term ls -lah | ||||
136868 | 7 | 27466 | 207052882 | Fetch the repos | github-to-sqlite repos github.db dogsheep sqlite-utils tables --counts github.db | ||||
136885 | 3 | 27469 | 207052882 | Commit and push if README changed | git diff git config --global user.email "readme-bot@example.com" git config --global user.name "README-bot" git diff --quiet || (git add README.md && git commit -m "Updated README") git push | ||||
136957 | 3 | 27485 | 206156866 | Commit and push if README changed | git diff git config --global user.email "readme-bot@example.com" git config --global user.name "README-bot" git diff --quiet || (git add README.md && git commit -m "Updated README") git push | ||||
137034 | 2 | 27502 | 140912432 | git checkout HEAD^2 | ${{ github.event_name == 'pull_request' }} | ||||
136977 | 11 | 27488 | 107914493 | Deploy to Cloud Run | gcloud config set run/region us-central1 gcloud config set project datasette-222320 export SUFFIX="-${GITHUB_REF#refs/heads/}" export SUFFIX=${SUFFIX#-main} # Replace 1.0 with one-dot-zero in SUFFIX export SUFFIX=${SUFFIX//1.0/one-dot-zero} datasette publish cloudrun fixtures.db fixtures2.db extra_database.db \ -m metadata.json \ --plugins-dir=plugins \ --branch=$GITHUB_SHA \ --version-note=$GITHUB_SHA \ --extra-options="--setting template_debug 1 --setting trace_debug 1 --crossdb" \ --install 'datasette-ephemeral-tables>=0.2.2' \ --service "datasette-latest$SUFFIX" \ --secret $LATEST_DATASETTE_SECRET | {"LATEST_DATASETTE_SECRET": "${{ secrets.LATEST_DATASETTE_SECRET }}"} | |||
136872 | 11 | 27466 | 207052882 | Deploy to Cloud Run | gcloud config set run/region us-central1 gcloud config set project datasette-222320 datasette publish cloudrun github.db \ -m demo-metadata.json \ --service github-to-sqlite \ --install=datasette-search-all>=0.3 \ --install=datasette-render-markdown>=1.1.2 \ --install=datasette-pretty-json>=0.2.2 \ --install=datasette-json-html \ --install=datasette-vega \ --install=datasette-render-images \ --install=datasette-graphql \ --install=datasette-atom | ||||
137000 | 7 | 27493 | 107914493 | Deploy stable-docs.datasette.io to Cloud Run | gcloud config set run/region us-central1 gcloud config set project datasette-222320 datasette publish cloudrun docs.db \ --service=datasette-docs-stable | ||||
137071 | 11 | 27508 | 140912432 | run flake8 if Python 3.8 or higher | flake8 | matrix.python-version >= 3.8 | |||
136966 | 4 | 27487 | 107914493 | Deploy the preview | export BRANCH="${{ github.event.inputs.branch }}" wget https://latest.datasette.io/fixtures.db datasette publish vercel fixtures.db \ --branch $BRANCH \ --project "datasette-preview-$BRANCH" \ --token $VERCEL_TOKEN \ --scope datasette \ --about "Preview of $BRANCH" \ --about_url "https://github.com/simonw/datasette/tree/$BRANCH" | {"VERCEL_TOKEN": "${{ secrets.BRANCH_PREVIEW_VERCEL_TOKEN }}"} |