steps
264 rows sorted by id descending
This data as json, CSV (advanced)
id ▲ | seq | job | repo | uses | name | with | run | env | if |
---|---|---|---|---|---|---|---|---|---|
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 | ||||
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 | ||||
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' }} | |||
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 | ||||
138810 | 5 | deploy 27859 | datasette 107914493 | Run tests | pytest -n auto -m "not serial" pytest -m "serial" | ${{ github.ref == 'refs/heads/main' }} | |||
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 | ||||
138808 | 3 | deploy 27859 | datasette 107914493 | actions/cache@v3 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138807 | 2 | deploy 27859 | datasette 107914493 | actions/setup-python@v4 | Set up Python | { "python-version": "3.9" } |
|||
138806 | 1 | deploy 27859 | datasette 107914493 | actions/checkout@v3 | Check out datasette | ||||
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 }}" } |
|||
138804 | 3 | deploy-branch-preview 27858 | datasette 107914493 | Install dependencies | pip install datasette-publish-vercel | ||||
138803 | 2 | deploy-branch-preview 27858 | datasette 107914493 | actions/setup-python@v4 | Set up Python 3.11 | { "python-version": "3.11" } |
|||
138802 | 1 | deploy-branch-preview 27858 | datasette 107914493 | actions/checkout@v3 | |||||
138801 | 5 | test 27857 | twitter-to-sqlite 206156866 | Run tests | pytest | ||||
138800 | 4 | test 27857 | twitter-to-sqlite 206156866 | Install dependencies | pip install -e '.[test]' | ||||
138799 | 3 | test 27857 | twitter-to-sqlite 206156866 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138798 | 2 | test 27857 | twitter-to-sqlite 206156866 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}" } |
|||
138797 | 1 | test 27857 | twitter-to-sqlite 206156866 | actions/checkout@v2 | |||||
138796 | 3 | build 27856 | twitter-to-sqlite 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 | ||||
138795 | 2 | build 27856 | twitter-to-sqlite 206156866 | Update TOC | npx markdown-toc README.md -i | ||||
138794 | 1 | build 27856 | twitter-to-sqlite 206156866 | actions/checkout@v2 | Check out repo | ||||
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 }}" } |
|||
138792 | 4 | deploy 27855 | twitter-to-sqlite 206156866 | Install dependencies | pip install setuptools wheel twine | ||||
138791 | 3 | deploy 27855 | twitter-to-sqlite 206156866 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n" } |
|||
138790 | 2 | deploy 27855 | twitter-to-sqlite 206156866 | actions/setup-python@v2 | Set up Python | { "python-version": "3.9" } |
|||
138789 | 1 | deploy 27855 | twitter-to-sqlite 206156866 | actions/checkout@v2 | |||||
138788 | 5 | test 27854 | twitter-to-sqlite 206156866 | Run tests | pytest | ||||
138787 | 4 | test 27854 | twitter-to-sqlite 206156866 | Install dependencies | pip install -e '.[test]' | ||||
138786 | 3 | test 27854 | twitter-to-sqlite 206156866 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138785 | 2 | test 27854 | twitter-to-sqlite 206156866 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}" } |
|||
138784 | 1 | test 27854 | twitter-to-sqlite 206156866 | actions/checkout@v2 | |||||
138783 | 4 | test 27853 | swarm-to-sqlite 205429375 | Run tests | pytest | ||||
138782 | 3 | test 27853 | swarm-to-sqlite 205429375 | Install dependencies | pip install -e '.[test]' | ||||
138781 | 2 | test 27853 | swarm-to-sqlite 205429375 | actions/setup-python@v4 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}", "cache": "pip", "cache-dependency-path": "setup.py" } |
|||
138780 | 1 | test 27853 | swarm-to-sqlite 205429375 | actions/checkout@v3 | |||||
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 }}" } |
|||
138778 | 3 | deploy 27852 | swarm-to-sqlite 205429375 | Install dependencies | pip install setuptools wheel twine | ||||
138777 | 2 | deploy 27852 | swarm-to-sqlite 205429375 | actions/setup-python@v4 | Set up Python | { "python-version": "3.11", "cache": "pip", "cache-dependency-path": "setup.py" } |
|||
138776 | 1 | deploy 27852 | swarm-to-sqlite 205429375 | actions/checkout@v3 | |||||
138775 | 4 | test 27851 | swarm-to-sqlite 205429375 | Run tests | pytest | ||||
138774 | 3 | test 27851 | swarm-to-sqlite 205429375 | Install dependencies | pip install -e '.[test]' | ||||
138773 | 2 | test 27851 | swarm-to-sqlite 205429375 | actions/setup-python@v4 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}", "cache": "pip", "cache-dependency-path": "setup.py" } |
|||
138772 | 1 | test 27851 | swarm-to-sqlite 205429375 | actions/checkout@v3 | |||||
138771 | 4 | test 27850 | pocket-to-sqlite 213286752 | Run tests | pytest | ||||
138770 | 3 | test 27850 | pocket-to-sqlite 213286752 | Install dependencies | pip install '.[test]' | ||||
138769 | 2 | test 27850 | pocket-to-sqlite 213286752 | actions/setup-python@v4 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}", "cache": "pip", "cache-dependency-path": "pyproject.toml" } |
|||
138768 | 1 | test 27850 | pocket-to-sqlite 213286752 | actions/checkout@v3 | |||||
138767 | 4 | deploy 27849 | pocket-to-sqlite 213286752 | Publish | python -m build twine upload dist/* | { "TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}" } |
|||
138766 | 3 | deploy 27849 | pocket-to-sqlite 213286752 | Install dependencies | pip install setuptools wheel twine build | ||||
138765 | 2 | deploy 27849 | pocket-to-sqlite 213286752 | actions/setup-python@v4 | Set up Python | { "python-version": "3.11", "cache": "pip", "cache-dependency-path": "pyproject.toml" } |
|||
138764 | 1 | deploy 27849 | pocket-to-sqlite 213286752 | actions/checkout@v3 | |||||
138763 | 4 | test 27848 | pocket-to-sqlite 213286752 | Run tests | pytest | ||||
138762 | 3 | test 27848 | pocket-to-sqlite 213286752 | Install dependencies | pip install '.[test]' | ||||
138761 | 2 | test 27848 | pocket-to-sqlite 213286752 | actions/setup-python@v4 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}", "cache": "pip", "cache-dependency-path": "pyproject.toml" } |
|||
138760 | 1 | test 27848 | pocket-to-sqlite 213286752 | actions/checkout@v3 | |||||
138759 | 5 | test 27847 | healthkit-to-sqlite 197882382 | Run tests | pytest | ||||
138758 | 4 | test 27847 | healthkit-to-sqlite 197882382 | Install dependencies | pip install -e '.[test]' | ||||
138757 | 3 | test 27847 | healthkit-to-sqlite 197882382 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138756 | 2 | test 27847 | healthkit-to-sqlite 197882382 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}" } |
|||
138755 | 1 | test 27847 | healthkit-to-sqlite 197882382 | actions/checkout@v2 | |||||
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 }}" } |
|||
138753 | 4 | deploy 27846 | healthkit-to-sqlite 197882382 | Install dependencies | pip install setuptools wheel twine | ||||
138752 | 3 | deploy 27846 | healthkit-to-sqlite 197882382 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n" } |
|||
138751 | 2 | deploy 27846 | healthkit-to-sqlite 197882382 | actions/setup-python@v2 | Set up Python | { "python-version": "3.9" } |
|||
138750 | 1 | deploy 27846 | healthkit-to-sqlite 197882382 | actions/checkout@v2 | |||||
138749 | 5 | test 27845 | healthkit-to-sqlite 197882382 | Run tests | pytest | ||||
138748 | 4 | test 27845 | healthkit-to-sqlite 197882382 | Install dependencies | pip install -e '.[test]' | ||||
138747 | 3 | test 27845 | healthkit-to-sqlite 197882382 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138746 | 2 | test 27845 | healthkit-to-sqlite 197882382 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}" } |
|||
138745 | 1 | test 27845 | healthkit-to-sqlite 197882382 | actions/checkout@v2 | |||||
138744 | 5 | test 27844 | hacker-news-to-sqlite 248903544 | Run tests | pytest | ||||
138743 | 4 | test 27844 | hacker-news-to-sqlite 248903544 | Install dependencies | pip install -e '.[test]' | ||||
138742 | 3 | test 27844 | hacker-news-to-sqlite 248903544 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138741 | 2 | test 27844 | hacker-news-to-sqlite 248903544 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}" } |
|||
138740 | 1 | test 27844 | hacker-news-to-sqlite 248903544 | actions/checkout@v2 | |||||
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 }}" } |
|||
138738 | 4 | deploy 27843 | hacker-news-to-sqlite 248903544 | Install dependencies | pip install setuptools wheel twine | ||||
138737 | 3 | deploy 27843 | hacker-news-to-sqlite 248903544 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n" } |
|||
138736 | 2 | deploy 27843 | hacker-news-to-sqlite 248903544 | actions/setup-python@v2 | Set up Python | { "python-version": "3.9" } |
|||
138735 | 1 | deploy 27843 | hacker-news-to-sqlite 248903544 | actions/checkout@v2 | |||||
138734 | 5 | test 27842 | hacker-news-to-sqlite 248903544 | Run tests | pytest | ||||
138733 | 4 | test 27842 | hacker-news-to-sqlite 248903544 | Install dependencies | pip install -e '.[test]' | ||||
138732 | 3 | test 27842 | hacker-news-to-sqlite 248903544 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138731 | 2 | test 27842 | hacker-news-to-sqlite 248903544 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}" } |
|||
138730 | 1 | test 27842 | hacker-news-to-sqlite 248903544 | actions/checkout@v2 | |||||
138729 | 5 | test 27841 | github-to-sqlite 207052882 | Run tests | pytest | ||||
138728 | 4 | test 27841 | github-to-sqlite 207052882 | Install dependencies | pip install -e '.[test]' | ||||
138727 | 3 | test 27841 | github-to-sqlite 207052882 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n" } |
|||
138726 | 2 | test 27841 | github-to-sqlite 207052882 | actions/setup-python@v2 | Set up Python ${{ matrix.python-version }} | { "python-version": "${{ matrix.python-version }}" } |
|||
138725 | 1 | test 27841 | github-to-sqlite 207052882 | actions/checkout@v2 | |||||
138724 | 3 | build 27840 | github-to-sqlite 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 | ||||
138723 | 2 | build 27840 | github-to-sqlite 207052882 | Update TOC | npx markdown-toc README.md -i | ||||
138722 | 1 | build 27840 | github-to-sqlite 207052882 | actions/checkout@v2 | Check out repo | ||||
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 }}" } |
|||
138720 | 4 | deploy 27839 | github-to-sqlite 207052882 | Install dependencies | pip install setuptools wheel twine | ||||
138719 | 3 | deploy 27839 | github-to-sqlite 207052882 | actions/cache@v2 | Configure pip caching | { "path": "~/.cache/pip", "key": "${{ runner.os }}-publish-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-publish-pip-\n" } |
|||
138718 | 2 | deploy 27839 | github-to-sqlite 207052882 | actions/setup-python@v2 | Set up Python | { "python-version": "3.11" } |
|||
138717 | 1 | deploy 27839 | github-to-sqlite 207052882 | actions/checkout@v2 | |||||
138716 | 5 | test 27838 | github-to-sqlite 207052882 | Run tests | pytest | ||||
138715 | 4 | test 27838 | github-to-sqlite 207052882 | Install dependencies | pip install -e '.[test]' |
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]);