Commit graph

78 commits

Author SHA1 Message Date
Simon Willison
868d34d7b9 Test 0.64.x against Python 3.12
And drop 3.7 tests because it is not compatible with the new Black version
2024-06-21 16:36:04 -07:00
Simon Willison
6c941e30c5 More deploy workflow wrangling 2024-06-12 16:04:17 -07:00
Simon Willison
c302357dc3 Publish using gh-action-pypi-publish@release/v1 2024-06-12 15:57:37 -07:00
Simon Willison
cd65558aee setup-gcloud 318.0.0
Refs https://til.simonwillison.net/googlecloud/gcloud-error-workaround
2023-01-09 16:02:28 -08:00
Simon Willison
9ec58da6ec Deploy docs on publish using Python 3.9
A workaround for gcloud setup, see:

https://til.simonwillison.net/googlecloud/gcloud-error-workaround

Refs #1963
2022-12-17 19:24:34 -08:00
Simon Willison
d93f975b3d On publish run tests same way as for test 2022-12-17 18:52:52 -08:00
Simon Willison
e6d94f9ffa Run new HTTPS test in CI, refs #1955 2022-12-17 18:51:17 -08:00
Simon Willison
f6ca86987b
Delete mirror-master-and-main.yml
Closes #1865
2022-10-27 06:56:11 -07:00
Simon Willison
613ad05c09
Don't need pysqlite3-binary any more, refs #1853 2022-10-25 12:16:48 -07:00
Simon Willison
e135da8efe
Python 3.11 in CI 2022-10-25 07:13:43 -07:00
Simon Willison
1c29b925d3 Run tests in serial again
Because this didn't fix the issue I'm seeing in #1802

Revert "Run tests in serial, refs #1802"

This reverts commit b91e17280c.
2022-09-05 17:10:52 -07:00
Simon Willison
b91e17280c
Run tests in serial, refs #1802 2022-09-05 16:50:53 -07:00
Simon Willison
ba35105eee
Test --load-extension in GitHub Actions (#1792)
* Run the --load-extension test, refs #1789
* Ran cog, refs #1789
2022-08-23 17:11:45 -07:00
Manuel Kaufmann
663ac431fe
Use Read the Docs action v1 (#1778)
Read the Docs repository was renamed from `readthedocs/readthedocs-preview` to `readthedocs/actions/`. Now, the `preview` action is under `readthedocs/actions/preview` and is tagged as `v1`
2022-08-19 17:04:16 -07:00
Simon Willison
bca2d95d02
Configure readthedocs/readthedocs-preview 2022-08-02 16:38:02 -07:00
Naveen
2e9751672d
chore: Set permissions for GitHub actions (#1740)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-05-31 12:28:40 -07:00
Simon Willison
d60f163528
Run on push and PR, closes #1737 2022-05-02 16:40:49 -07:00
Simon Willison
c0cbcf2aba Tweaks to test scripts, refs #1737 2022-05-02 16:36:58 -07:00
Simon Willison
847d6b1aac Test wheel against Pyodide, refs #1737, #1733 2022-05-02 16:32:24 -07:00
Simon Willison
289e4cf80a Finished applying blacken-docs, closes #1718 2022-04-24 09:17:59 -07:00
Simon Willison
36573638b0 Apply Black to code examples in documentation, refs #1718
Uses blacken-docs. This has a deliberate error which I hope will fail CI.
2022-04-24 08:50:43 -07:00
Simon Willison
40ef8ebac2
Run tests on pull requests 2022-04-24 07:10:13 -07:00
Simon Willison
c4c9dbd038
google-github-actions/setup-gcloud@v0 2022-03-22 09:49:26 -07:00
Simon Willison
12f3ca7995
google-github-actions/setup-gcloud@v0 2022-03-21 18:42:03 -07:00
Simon Willison
e10da9af35 alternative-route demo, refs #1668 2022-03-19 17:21:56 -07:00
Simon Willison
a9d8824617
Test against Python 3.11-dev
Closes #1621
2022-02-02 13:58:52 -08:00
Simon Willison
d194db4204 Output pip freeze to show installed packages, refs #1609 2022-01-20 18:02:04 -08:00
Simon Willison
fae3983c51 Drop support for Python 3.6, closes #1577
Refs #1606
2022-01-19 20:31:22 -08:00
Simon Willison
4b23f01f3e CLI reference docs, maintained by cog - refs #1594 2022-01-13 13:35:54 -08:00
Simon Willison
3a2ed6300d Run tests on 3.10 during publish, refs #1482 2021-10-24 15:37:43 -07:00
Simon Willison
96a823f283
Fix compatibility with Python 3.10 (#1481)
* Run tests against Python 3.10
* Upgrade to Janus 0.6.2 for Python 3.10
* Add 3.10 to classifiers

Closes #1482
2021-10-24 15:19:54 -07:00
Simon Willison
4eb3ae40fb
Don't bother building docs if not on main
Refs ##1442
2021-08-19 14:17:44 -07:00
Simon Willison
d84e574e59
Ability to deploy demos of branches
* Ability to deploy additional branch demos, closes #1442
* Only run tests before deploy on main branch
* Documentation for continuous deployment
2021-08-19 14:09:38 -07:00
Simon Willison
cd8b7bee8f Run codespell against datasette source code too, refs #1417 2021-08-03 10:03:48 -07:00
Simon Willison
2208c3c68e
Spelling corrections plus CI job for codespell
* Use codespell to check spelling in documentation, refs #1417
* Fixed spelling errors spotted by codespell, closes #1417
* Make codespell a docs dependency

See also this TIL:  https://til.simonwillison.net/python/codespell
2021-08-03 09:36:38 -07:00
Simon Willison
74b775e20f Use consistent pattern for test before deploy, refs #1406 2021-07-29 17:50:45 -07:00
Simon Willison
721a8d3cd4 Hopeful fix for publish problem in #1396 2021-07-14 18:51:36 -07:00
Simon Willison
953a64467d
Only publish stable docs on non-preview release
Refs https://github.com/simonw/datasette.io/issues/67
2021-06-24 09:42:02 -07:00
Simon Willison
7bc85b26d6 Deploy stable-docs.datasette.io on publish
Refs https://github.com/simonw/datasette.io/issues/67
2021-06-23 12:30:03 -07:00
Simon Willison
0dfb924171
Temporarily reverting buildx support
I need to push a container for 0.57 using this action, and I'm not ready to ship other architecture builds until we have tested them in #1344.
2021-06-05 15:55:07 -07:00
Simon Willison
ff29dd55fa ?_trace=1 now depends on trace_debug setting, closes #1359 2021-06-05 13:18:37 -07:00
Blair Drummond
89822d10be
Docker multi-arch support with Buildx (#1319)
Thanks, @blairdrummond
2021-05-27 09:49:23 -07:00
dependabot-preview[bot]
5e60bad404
Upgrade to GitHub-native Dependabot (#1314)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-29 08:47:21 -07:00
Simon Willison
0a7621f96f
Use pytest-xdist to speed up tests (#1290)
* Run tests in CI using pytest-xdist
* Documentation for pytest-xdist

Closes #1289
2021-04-02 20:42:28 -07:00
Simon Willison
0486303b60 Explicitly push version tag, refs #1281 2021-03-28 18:42:42 -07:00
Simon Willison
8291065b13 Hopeful fix for Docker tag error, refs #1281 2021-03-28 18:39:02 -07:00
Simon Willison
849c4f06ea Workflow for manually pushing a Docker tag, refs #1281 2021-03-28 18:36:07 -07:00
Simon Willison
13fd9bdf01
docker push --all-tags, refs #1281 2021-03-28 18:07:49 -07:00
Simon Willison
5fd0289065 Build Dockerfile with SpatiaLite 5, refs #1249 2021-03-26 21:27:40 -07:00
Simon Willison
6f41c8a2be
--crossdb option for joining across databases (#1232)
* Test for cross-database join, refs #283
* Warn if --crossdb used with more than 10 DBs, refs #283
* latest.datasette.io demo of --crossdb joins, refs #283
* Show attached databases on /_memory page, refs #283
* Documentation for cross-database queries, refs #283
2021-02-18 14:09:12 -08:00