steps
262 rows sorted by with
This data as json, CSV (advanced)
id | seq | job | repo | uses | name | with ▼ | run | env | if |
---|---|---|---|---|---|---|---|---|---|
136966 | 4 | deploy-branch-preview 27487 | 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 }}"} | |||
136967 | 1 | deploy 27488 | datasette 107914493 | actions/checkout@v3 | Check out datasette | ||||
136970 | 4 | deploy 27488 | 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 | ||||
136971 | 5 | deploy 27488 | datasette 107914493 | Run tests | pytest -n auto -m "not serial" pytest -m "serial" | ${{ github.ref == 'refs/heads/main' }} | |||
136972 | 6 | deploy 27488 | datasette 107914493 | Build fixtures.db | python tests/fixtures.py fixtures.db fixtures.json plugins --extra-db-filename extra_database.db | ||||
136973 | 7 | deploy 27488 | 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' }} | |||
136974 | 8 | deploy 27488 | 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 | ||||
136975 | 9 | deploy 27488 | datasette 107914493 | Make some modifications to metadata.json | cat fixtures.json | \ jq '.databases |= . + {"ephemeral": {"allow": {"id": "*"}}}' | \ jq '.plugins |= . + {"datasette-ephemeral-tables": {"table_ttl": 900}}' \ > metadata.json cat metadata.json | ||||
136977 | 11 | deploy 27488 | 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 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 }}"} | |||
136978 | 12 | deploy 27488 | 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' }} | |||
136980 | 1 | prettier 27490 | datasette 107914493 | actions/checkout@v2 | Check out repo | ||||
136982 | 3 | prettier 27490 | datasette 107914493 | Install dependencies | npm ci | ||||
136983 | 4 | prettier 27490 | datasette 107914493 | Run prettier | npm run prettier -- --check | ||||
136984 | 1 | test 27491 | datasette 107914493 | actions/checkout@v3 | |||||
136987 | 4 | test 27491 | datasette 107914493 | Install dependencies | pip install -e '.[test]' | ||||
136988 | 5 | test 27491 | datasette 107914493 | Run tests | pytest | ||||
136989 | 1 | deploy 27492 | datasette 107914493 | actions/checkout@v3 | |||||
136992 | 4 | deploy 27492 | datasette 107914493 | Install dependencies | pip install setuptools wheel twine | ||||
136993 | 5 | deploy 27492 | datasette 107914493 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
136994 | 1 | deploy_static_docs 27493 | datasette 107914493 | actions/checkout@v2 | |||||
136997 | 4 | deploy_static_docs 27493 | datasette 107914493 | Install dependencies | python -m pip install -e .[docs] python -m pip install sphinx-to-sqlite==0.1a1 | ||||
136998 | 5 | deploy_static_docs 27493 | datasette 107914493 | Build docs.db | cd docs DISABLE_SPHINX_INLINE_TABS=1 sphinx-build -b xml . _build sphinx-to-sqlite ../docs.db _build cd .. | ||||
137000 | 7 | deploy_static_docs 27493 | 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 | ||||
137001 | 1 | deploy_docker 27494 | datasette 107914493 | actions/checkout@v2 | |||||
137002 | 2 | deploy_docker 27494 | datasette 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 }}"} | |||
137003 | 1 | deploy_docker 27495 | datasette 107914493 | actions/checkout@v2 | |||||
137004 | 2 | deploy_docker 27495 | datasette 107914493 | Build and push to Docker Hub | docker login -u $DOCKER_USER -p $DOCKER_PASS export REPO=datasetteproject/datasette docker build -f Dockerfile \ -t $REPO:${VERSION_TAG} \ --build-arg VERSION=${VERSION_TAG} . docker push $REPO:${VERSION_TAG} | {"DOCKER_USER": "${{ secrets.DOCKER_USER }}", "DOCKER_PASS": "${{ secrets.DOCKER_PASS }}", "VERSION_TAG": "${{ github.event.inputs.version_tag }}"} | |||
137005 | 1 | spellcheck 27496 | datasette 107914493 | actions/checkout@v2 | |||||
137008 | 4 | spellcheck 27496 | datasette 107914493 | Install dependencies | pip install -e '.[docs]' | ||||
137009 | 5 | spellcheck 27496 | datasette 107914493 | Check spelling | codespell README.md --ignore-words docs/codespell-ignore-words.txt codespell docs/*.rst --ignore-words docs/codespell-ignore-words.txt codespell datasette -S datasette/static --ignore-words docs/codespell-ignore-words.txt | ||||
137010 | 1 | test 27497 | datasette 107914493 | actions/checkout@v2 | Check out datasette | ||||
137013 | 4 | test 27497 | datasette 107914493 | Install Python dependencies | python -m pip install --upgrade pip python -m pip install -e .[test] python -m pip install pytest-cov | ||||
137014 | 5 | test 27497 | datasette 107914493 | Run tests | ls -lah cat .coveragerc pytest --cov=datasette --cov-config=.coveragerc --cov-report xml:coverage.xml --cov-report term ls -lah | ||||
137016 | 1 | test 27498 | datasette 107914493 | actions/checkout@v3 | |||||
137019 | 4 | test 27498 | datasette 107914493 | Install Playwright dependencies | pip install shot-scraper build shot-scraper install | ||||
137020 | 5 | test 27498 | datasette 107914493 | Run test | ./test-in-pyodide-with-shot-scraper.sh | ||||
137021 | 1 | test 27499 | datasette 107914493 | actions/checkout@v3 | |||||
137024 | 4 | test 27499 | datasette 107914493 | Build extension for --load-extension test | (cd tests && gcc ext.c -fPIC -shared -o ext.so) | ||||
137025 | 5 | test 27499 | datasette 107914493 | Install dependencies | pip install -e '.[test,docs]' pip freeze | ||||
137026 | 6 | test 27499 | 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 | ||||
137027 | 7 | test 27499 | datasette 107914493 | Check if cog needs to be run | cog --check docs/*.rst | ||||
137028 | 8 | test 27499 | 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 | ||||
137029 | 1 | build 27500 | datasette 107914493 | actions/checkout@v2 | |||||
137030 | 2 | build 27500 | datasette 107914493 | mxschmitt/action-tmate@v3 | Setup tmate session | ||||
137031 | 1 | build 27501 | datasette 107914493 | actions/checkout@v2 | |||||
137032 | 2 | build 27501 | datasette 107914493 | mxschmitt/action-tmate@v3 | Setup tmate session | ||||
137034 | 2 | Analyze 27502 | sqlite-utils 140912432 | git checkout HEAD^2 | ${{ github.event_name == 'pull_request' }} | ||||
137036 | 4 | Analyze 27502 | sqlite-utils 140912432 | github/codeql-action/autobuild@v1 | Autobuild | ||||
137037 | 5 | Analyze 27502 | sqlite-utils 140912432 | github/codeql-action/analyze@v1 | Perform CodeQL Analysis | ||||
137039 | 1 | test 27504 | sqlite-utils 140912432 | actions/checkout@v3 | |||||
137042 | 4 | test 27504 | sqlite-utils 140912432 | Install dependencies | pip install -e '.[test,tui]' | ||||
137043 | 5 | test 27504 | sqlite-utils 140912432 | Run tests | pytest | ||||
137044 | 1 | deploy 27505 | sqlite-utils 140912432 | actions/checkout@v3 | |||||
137047 | 4 | deploy 27505 | sqlite-utils 140912432 | Install dependencies | pip install setuptools wheel twine | ||||
137048 | 5 | deploy 27505 | sqlite-utils 140912432 | Publish | python setup.py sdist bdist_wheel twine upload dist/* | {"TWINE_USERNAME": "__token__", "TWINE_PASSWORD": "${{ secrets.PYPI_TOKEN }}"} | |||
137049 | 1 | spellcheck 27506 | sqlite-utils 140912432 | actions/checkout@v2 | |||||
137052 | 4 | spellcheck 27506 | sqlite-utils 140912432 | Install dependencies | pip install -e '.[docs]' | ||||
137053 | 5 | spellcheck 27506 | 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 | ||||
137054 | 1 | test 27507 | sqlite-utils 140912432 | actions/checkout@v2 | Check out repo | ||||
137057 | 4 | test 27507 | sqlite-utils 140912432 | Install SpatiaLite | sudo apt-get install libsqlite3-mod-spatialite | ||||
137058 | 5 | test 27507 | sqlite-utils 140912432 | Install Python dependencies | python -m pip install --upgrade pip python -m pip install -e .[test] python -m pip install pytest-cov | ||||
137059 | 6 | test 27507 | sqlite-utils 140912432 | Run tests | ls -lah pytest --cov=sqlite_utils --cov-report xml:coverage.xml --cov-report term ls -lah | ||||
137061 | 1 | test 27508 | sqlite-utils 140912432 | actions/checkout@v3 | |||||
137064 | 4 | test 27508 | sqlite-utils 140912432 | Install dependencies | pip install -e '.[test,mypy,flake8,tui]' | ||||
137065 | 5 | test 27508 | sqlite-utils 140912432 | Optionally install numpy | pip install numpy | matrix.numpy == 1 | |||
137066 | 6 | test 27508 | sqlite-utils 140912432 | Install SpatiaLite | sudo apt-get install libsqlite3-mod-spatialite | matrix.os == 'ubuntu-latest' | |||
137067 | 7 | test 27508 | 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' | |||
137068 | 8 | test 27508 | 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' | |||
137069 | 9 | test 27508 | sqlite-utils 140912432 | Run tests | pytest -v | ||||
137070 | 10 | test 27508 | sqlite-utils 140912432 | run mypy | mypy sqlite_utils tests | ||||
137071 | 11 | test 27508 | sqlite-utils 140912432 | run flake8 if Python 3.8 or higher | flake8 | matrix.python-version >= 3.8 | |||
137072 | 12 | test 27508 | sqlite-utils 140912432 | Check formatting | black . --check | ||||
137073 | 13 | test 27508 | sqlite-utils 140912432 | Check if cog needs to be run | cog --check README.md docs/*.rst | ||||
137033 | 1 | Analyze 27502 | sqlite-utils 140912432 | actions/checkout@v2 | Checkout repository | {"fetch-depth": 2} | |||
137035 | 3 | Analyze 27502 | sqlite-utils 140912432 | github/codeql-action/init@v1 | Initialize CodeQL | {"languages": "${{ matrix.language }}"} | |||
136870 | 9 | scheduled 27466 | github-to-sqlite 207052882 | actions/upload-artifact@v2 | {"path": "github.db"} | ||||
137018 | 3 | test 27498 | datasette 107914493 | actions/cache@v2 | Cache Playwright browsers | {"path": "~/.cache/ms-playwright/", "key": "${{ runner.os }}-browsers"} | |||
136829 | 3 | test 27459 | dogsheep-beta 197431109 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136839 | 3 | test 27461 | dogsheep-beta 197431109 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136844 | 3 | build 27462 | dogsheep-photos 256834907 | actions/cache@v1 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136849 | 3 | test 27463 | evernote-to-sqlite 303218369 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136859 | 3 | test 27465 | evernote-to-sqlite 303218369 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136864 | 3 | scheduled 27466 | github-to-sqlite 207052882 | actions/cache@v1 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136875 | 3 | test 27467 | 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"} | |||
136888 | 3 | test 27470 | 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"} | |||
136893 | 3 | test 27471 | 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"} | |||
136903 | 3 | test 27473 | 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"} | |||
136908 | 3 | test 27474 | 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"} | |||
136918 | 3 | test 27476 | 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"} | |||
136947 | 3 | test 27483 | 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"} | |||
136960 | 3 | test 27486 | 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"} | |||
136969 | 3 | deploy 27488 | datasette 107914493 | actions/cache@v3 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
136986 | 3 | test 27491 | datasette 107914493 | actions/cache@v3 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
137007 | 3 | spellcheck 27496 | datasette 107914493 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
137012 | 3 | test 27497 | datasette 107914493 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
137023 | 3 | test 27499 | datasette 107914493 | actions/cache@v3 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
137041 | 3 | test 27504 | sqlite-utils 140912432 | actions/cache@v3 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
137051 | 3 | spellcheck 27506 | sqlite-utils 140912432 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
137056 | 3 | test 27507 | sqlite-utils 140912432 | actions/cache@v2 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} | |||
137063 | 3 | test 27508 | sqlite-utils 140912432 | actions/cache@v3 | Configure pip caching | {"path": "~/.cache/pip", "key": "${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}", "restore-keys": "${{ runner.os }}-pip-\n"} |
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]);