steps
264 rows sorted by seq descending
This data as json, CSV (advanced)
Suggested facets: seq, uses, with, env, if
repo 12 ✖
id | seq ▲ | job | repo | uses | name | with | run | env | if |
---|---|---|---|---|---|---|---|---|---|
138914 | 14 | test 27879 | sqlite-utils 140912432 | Check if cog needs to be run | cog --check README.md docs/*.rst | matrix.python-version != '3.7' | |||
138913 | 13 | test 27879 | sqlite-utils 140912432 | Check formatting | black . --check | ||||
138817 | 12 | deploy 27859 | datasette 107914493 | Deploy to docs as well (only for main) | # Deploy docs.db to a different service datasette publish cloudrun docs.db \ --branch=$GITHUB_SHA \ --version-note=$GITHUB_SHA \ --extra-options="--setting template_debug 1" \ --service=datasette-docs-latest | ${{ github.ref == 'refs/heads/main' }} | |||
138912 | 12 | test 27879 | sqlite-utils 140912432 | run flake8 if Python 3.8 or higher | flake8 | matrix.python-version >= 3.8 | |||
138711 | 11 | scheduled 27837 | github-to-sqlite 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 | ||||
138816 | 11 | deploy 27859 | datasette 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 fixtures-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 }}" } |
|||
138911 | 11 | test 27879 | sqlite-utils 140912432 | run mypy | mypy sqlite_utils tests | ||||
138710 | 10 | scheduled 27837 | github-to-sqlite 207052882 | google-github-actions/setup-gcloud@v0 | Set up Cloud Run | { "version": "318.0.0", "service_account_email": "${{ secrets.GCP_SA_EMAIL }}", "service_account_key": "${{ secrets.GCP_SA_KEY }}" } |
|||
138815 | 10 | deploy 27859 | datasette 107914493 | google-github-actions/setup-gcloud@v0 | Set up Cloud Run | { "version": "318.0.0", "service_account_email": "${{ secrets.GCP_SA_EMAIL }}", "service_account_key": "${{ secrets.GCP_SA_KEY }}" } |
|||
138868 | 10 | test 27870 | datasette 107914493 | Test DATASETTE_LOAD_PLUGINS | pip install datasette-init datasette-json-html tests/test-datasette-load-plugins.sh | ||||
138910 | 10 | test 27879 | sqlite-utils 140912432 | Run tests | pytest -v | ||||
138709 | 9 | scheduled 27837 | github-to-sqlite 207052882 | actions/upload-artifact@v2 | { "path": "github.db" } |
||||
138814 | 9 | deploy 27859 | datasette 107914493 | And the counters writable canned query demo | cat > plugins/counters.py <<EOF from datasette import hookimpl @hookimpl def startup(datasette): db = datasette.add_memory_database("counters") async def inner(): await db.execute_write("create table if not exists counters (name text primary key, value integer)") await db.execute_write("insert or ignore into counters (name, value) values ('counter_a', 0)") await db.execute_write("insert or ignore into counters (name, value) values ('counter_b', 0)") await db.execute_write("insert or ignore into counters (name, value) values ('counter_c', 0)") return inner @hookimpl def canned_queries(database): if database == "counters": queries = {} for name in ("counter_a", "counter_b", "counter_c"): queries["increment_{}".format(name)] = { "sql": "update counters set value = value + 1 where name = '{}'".format(name), "on_success_message_sql": "select 'Counter {name} incremented to ' || value from counters where name = '{name}'".format(name=name), "write": True, } queries["decrement_{}".format(name)] = { "sql": "update counters set value = value - 1 where name = '{}'".format(name), "on_success_message_sql": "select 'Counter {name} decremented to ' || value from counters where name = '{name}'".format(name=name), "write": True, } return queries EOF | ||||
138867 | 9 | test 27870 | datasette 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' | |||
138909 | 9 | test 27879 | sqlite-utils 140912432 | Build extension for --load-extension test | (cd tests && gcc ext.c -fPIC -shared -o ext.so && ls -lah) | matrix.os == 'ubuntu-latest' | |||
138708 | 8 | scheduled 27837 | github-to-sqlite 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 | ||||
138813 | 8 | deploy 27859 | datasette 107914493 | Set up the alternate-route demo | echo ' from datasette import hookimpl @hookimpl def startup(datasette): db = datasette.get_database("fixtures2") db.route = "alternative-route" ' > plugins/alternative_route.py cp fixtures.db fixtures2.db | ||||
138866 | 8 | test 27870 | datasette 107914493 | Check if cog needs to be run | cog --check docs/*.rst | matrix.python-version != '3.8' | |||
138908 | 8 | test 27879 | sqlite-utils 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' | |||
138707 | 7 | scheduled 27837 | github-to-sqlite 207052882 | Fetch the repos | github-to-sqlite repos github.db dogsheep sqlite-utils tables --counts github.db | ||||
138812 | 7 | deploy 27859 | datasette 107914493 | Build docs.db | cd docs DISABLE_SPHINX_INLINE_TABS=1 sphinx-build -b xml . _build sphinx-to-sqlite ../docs.db _build cd .. | ${{ github.ref == 'refs/heads/main' }} | |||
138839 | 7 | deploy_static_docs 27864 | datasette 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 | ||||
138865 | 7 | test 27870 | datasette 107914493 | Install docs dependencies on Python 3.9+ | pip install -e '.[docs]' | matrix.python-version != '3.8' | |||
138900 | 7 | test 27878 | sqlite-utils 140912432 | codecov/codecov-action@v1 | Upload coverage report | { "token": "${{ secrets.CODECOV_TOKEN }}", "file": "coverage.xml" } |
|||
138907 | 7 | test 27879 | sqlite-utils 140912432 | Install SpatiaLite | sudo apt-get install libsqlite3-mod-spatialite | matrix.os == 'ubuntu-latest' | |||
138706 | 6 | scheduled 27837 | github-to-sqlite 207052882 | Fetch previous copy of database | # So we can keep track of when we first saw each dependent repo wget https://github-to-sqlite.dogsheep.net/github.db | !contains(github.event.head_commit.message, 'REFRESH_DB') | |||
138811 | 6 | deploy 27859 | datasette 107914493 | Build fixtures.db and other files needed to deploy the demo | python tests/fixtures.py \ fixtures.db \ fixtures-config.json \ fixtures-metadata.json \ plugins \ --extra-db-filename extra_database.db | ||||
138838 | 6 | deploy_static_docs 27864 | datasette 107914493 | google-github-actions/setup-gcloud@v0 | Set up Cloud Run | { "version": "318.0.0", "service_account_email": "${{ secrets.GCP_SA_EMAIL }}", "service_account_key": "${{ secrets.GCP_SA_KEY }}" } |
|||
138853 | 6 | test 27868 | datasette 107914493 | codecov/codecov-action@v1 | Upload coverage report | { "token": "${{ secrets.CODECOV_TOKEN }}", "file": "coverage.xml" } |
|||
138864 | 6 | test 27870 | datasette 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 | ||||
138899 | 6 | test 27878 | sqlite-utils 140912432 | Run tests | ls -lah pytest --cov=sqlite_utils --cov-report xml:coverage.xml --cov-report term ls -lah | ||||
138906 | 6 | test 27879 | sqlite-utils 140912432 | Optionally install numpy | pip install numpy | matrix.numpy == 1 | |||
138665 | 5 | test 27829 | apple-notes-to-sqlite 611552758 | Check if README is up-to-date | cog --check README.md | ||||
138670 | 5 | test 27830 | dogsheep-beta 197431109 | Run tests | pytest -v | ||||
138675 | 5 | deploy 27831 | dogsheep-beta 197431109 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138680 | 5 | test 27832 | dogsheep-beta 197431109 | Run tests | pytest -v | ||||
138685 | 5 | build 27833 | dogsheep-photos 256834907 | Test with pytest | pytest | ||||
138690 | 5 | test 27834 | evernote-to-sqlite 303218369 | Run tests | pytest | ||||
138695 | 5 | deploy 27835 | evernote-to-sqlite 303218369 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138700 | 5 | test 27836 | evernote-to-sqlite 303218369 | Run tests | pytest | ||||
138705 | 5 | scheduled 27837 | github-to-sqlite 207052882 | Create auth.json | echo "{\"github_personal_token\": \"$GITHUB_ACCESS_TOKEN\"}" > auth.json | { "GITHUB_ACCESS_TOKEN": "${{ secrets.GH_TOKEN }}" } |
|||
138716 | 5 | test 27838 | github-to-sqlite 207052882 | Run tests | pytest | ||||
138721 | 5 | deploy 27839 | github-to-sqlite 207052882 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138729 | 5 | test 27841 | github-to-sqlite 207052882 | Run tests | pytest | ||||
138734 | 5 | test 27842 | hacker-news-to-sqlite 248903544 | Run tests | pytest | ||||
138739 | 5 | deploy 27843 | hacker-news-to-sqlite 248903544 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138744 | 5 | test 27844 | hacker-news-to-sqlite 248903544 | Run tests | pytest | ||||
138749 | 5 | test 27845 | healthkit-to-sqlite 197882382 | Run tests | pytest | ||||
138754 | 5 | deploy 27846 | healthkit-to-sqlite 197882382 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138759 | 5 | test 27847 | healthkit-to-sqlite 197882382 | Run tests | pytest | ||||
138788 | 5 | test 27854 | twitter-to-sqlite 206156866 | Run tests | pytest | ||||
138793 | 5 | deploy 27855 | twitter-to-sqlite 206156866 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138801 | 5 | test 27857 | twitter-to-sqlite 206156866 | Run tests | pytest | ||||
138810 | 5 | deploy 27859 | datasette 107914493 | Run tests | pytest -n auto -m "not serial" pytest -m "serial" | ${{ github.ref == 'refs/heads/main' }} | |||
138827 | 5 | test 27862 | datasette 107914493 | Run tests | pytest | ||||
138832 | 5 | deploy 27863 | datasette 107914493 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138837 | 5 | deploy_static_docs 27864 | datasette 107914493 | Build docs.db | cd docs DISABLE_SPHINX_INLINE_TABS=1 sphinx-build -b xml . _build sphinx-to-sqlite ../docs.db _build cd .. | ||||
138852 | 5 | test 27868 | datasette 107914493 | Run tests | ls -lah cat .coveragerc pytest --cov=datasette --cov-config=.coveragerc --cov-report xml:coverage.xml --cov-report term ls -lah | ||||
138858 | 5 | test 27869 | datasette 107914493 | Run test | ./test-in-pyodide-with-shot-scraper.sh | ||||
138863 | 5 | test 27870 | datasette 107914493 | Install dependencies | pip install -e '.[test]' pip freeze | ||||
138877 | 5 | Analyze 27873 | sqlite-utils 140912432 | github/codeql-action/analyze@v1 | Perform CodeQL Analysis | ||||
138883 | 5 | test 27875 | sqlite-utils 140912432 | Run tests | pytest | ||||
138888 | 5 | deploy 27876 | sqlite-utils 140912432 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138893 | 5 | spellcheck 27877 | sqlite-utils 140912432 | Check spelling | codespell docs/*.rst --ignore-words docs/codespell-ignore-words.txt codespell sqlite_utils --ignore-words docs/codespell-ignore-words.txt | ||||
138898 | 5 | test 27878 | sqlite-utils 140912432 | Install Python dependencies | python -m pip install --upgrade pip python -m pip install -e .[test] python -m pip install pytest-cov | ||||
138905 | 5 | test 27879 | sqlite-utils 140912432 | Optionally install tui dependencies (not 3.7) | pip install -e '.[tui]' | matrix.python-version != '3.7' | |||
138656 | 4 | test 27827 | apple-notes-to-sqlite 611552758 | Run tests | pytest | ||||
138660 | 4 | deploy 27828 | apple-notes-to-sqlite 611552758 | Publish | python -m build twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138664 | 4 | test 27829 | apple-notes-to-sqlite 611552758 | Run tests | pytest | ||||
138669 | 4 | test 27830 | dogsheep-beta 197431109 | Install dependencies | pip install -e '.[test]' | ||||
138674 | 4 | deploy 27831 | dogsheep-beta 197431109 | Install dependencies | pip install setuptools wheel twine | ||||
138679 | 4 | test 27832 | dogsheep-beta 197431109 | Install dependencies | pip install -e '.[test]' | ||||
138684 | 4 | build 27833 | dogsheep-photos 256834907 | Install dependencies | python -m pip install --upgrade pip pip install -e .[test] | ||||
138689 | 4 | test 27834 | evernote-to-sqlite 303218369 | Install dependencies | pip install -e '.[test]' | ||||
138694 | 4 | deploy 27835 | evernote-to-sqlite 303218369 | Install dependencies | pip install setuptools wheel twine | ||||
138699 | 4 | test 27836 | evernote-to-sqlite 303218369 | Install dependencies | pip install -e '.[test]' | ||||
138704 | 4 | scheduled 27837 | github-to-sqlite 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 | ||||
138715 | 4 | test 27838 | github-to-sqlite 207052882 | Install dependencies | pip install -e '.[test]' | ||||
138720 | 4 | deploy 27839 | github-to-sqlite 207052882 | Install dependencies | pip install setuptools wheel twine | ||||
138728 | 4 | test 27841 | github-to-sqlite 207052882 | Install dependencies | pip install -e '.[test]' | ||||
138733 | 4 | test 27842 | hacker-news-to-sqlite 248903544 | Install dependencies | pip install -e '.[test]' | ||||
138738 | 4 | deploy 27843 | hacker-news-to-sqlite 248903544 | Install dependencies | pip install setuptools wheel twine | ||||
138743 | 4 | test 27844 | hacker-news-to-sqlite 248903544 | Install dependencies | pip install -e '.[test]' | ||||
138748 | 4 | test 27845 | healthkit-to-sqlite 197882382 | Install dependencies | pip install -e '.[test]' | ||||
138753 | 4 | deploy 27846 | healthkit-to-sqlite 197882382 | Install dependencies | pip install setuptools wheel twine | ||||
138758 | 4 | test 27847 | healthkit-to-sqlite 197882382 | Install dependencies | pip install -e '.[test]' | ||||
138763 | 4 | test 27848 | pocket-to-sqlite 213286752 | Run tests | pytest | ||||
138767 | 4 | deploy 27849 | pocket-to-sqlite 213286752 | Publish | python -m build twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138771 | 4 | test 27850 | pocket-to-sqlite 213286752 | Run tests | pytest | ||||
138775 | 4 | test 27851 | swarm-to-sqlite 205429375 | Run tests | pytest | ||||
138779 | 4 | deploy 27852 | swarm-to-sqlite 205429375 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138783 | 4 | test 27853 | swarm-to-sqlite 205429375 | Run tests | pytest | ||||
138787 | 4 | test 27854 | twitter-to-sqlite 206156866 | Install dependencies | pip install -e '.[test]' | ||||
138792 | 4 | deploy 27855 | twitter-to-sqlite 206156866 | Install dependencies | pip install setuptools wheel twine | ||||
138800 | 4 | test 27857 | twitter-to-sqlite 206156866 | Install dependencies | pip install -e '.[test]' | ||||
138805 | 4 | deploy-branch-preview 27858 | datasette 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 }}" } |
|||
138809 | 4 | deploy 27859 | datasette 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 | ||||
138822 | 4 | prettier 27861 | datasette 107914493 | Run prettier | npm run prettier -- --check | ||||
138826 | 4 | test 27862 | datasette 107914493 | Install dependencies | pip install -e '.[test]' | ||||
138831 | 4 | deploy 27863 | datasette 107914493 | Install dependencies | pip install setuptools wheel twine |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [steps] ( [id] INTEGER PRIMARY KEY, [seq] INTEGER, [job] INTEGER REFERENCES [jobs]([id]), [repo] INTEGER REFERENCES [repos]([id]), [uses] TEXT, [name] TEXT, [with] TEXT, [run] TEXT , [env] TEXT, [if] TEXT); CREATE INDEX [idx_steps_repo] ON [steps] ([repo]); CREATE INDEX [idx_steps_job] ON [steps] ([job]);