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
Simon Willison
5af2b99111
Create FUNDING.yml
2021-02-18 10:22:01 -08:00
Simon Willison
ffff3a4c53
Easier way to run Prettier locally ( #1203 )
...
Thanks, Ben Pickles - refs #1167
2021-01-24 17:41:46 -08:00
Simon Willison
ab7767acbe
tmate session mac
...
So I can test https://github.com/simonw/datasette/issues/93
2021-01-04 13:31:55 -08:00
Ben Pickles
3054e0f730
Install Prettier via package.json ( #1170 )
...
* Error if Prettier isn't already installed
* Temporarily run Prettier check on every commit
* Install and run Prettier via package.json
* Trigger another prettier check on CI
2021-01-04 11:52:33 -08:00
Simon Willison
1e8fa3ac7c
Only run prettier on changes to datasette/static
...
Refs #1166
2021-01-01 13:45:55 -08:00
Simon Willison
9cbc099492
GitHub Actions workflow for Prettier, refs #1166
2020-12-31 13:42:14 -08:00
Simon Willison
e2fea36540
Switch to google-github-actions/setup-gcloud - refs #1126
2020-12-03 19:12:33 -08:00
Simon Willison
a970276b99
Try pysqlite3 on latest.datasette.io
...
--install=pysqlite3-binary to get a working demo of generated columns, refs #1119
2020-11-30 17:19:09 -08:00
Simon Willison
5a77f7a649
Updated docs renaming config to settings
...
- config.html is now settings.html
- ConfigOption in app.py is now Setting
- updated documentation unit tests
Refs #1106
2020-11-24 13:22:33 -08:00
Simon Willison
d6db47f5c1
Deploy demo plugins to latest.datasette.io, refs #1074
2020-10-31 10:36:46 -07:00
Simon Willison
d0cc6f4c32
Use sphinx-to-sqlite==0.1a1
...
To address this bug: https://github.com/simonw/sphinx-to-sqlite/issues/2
2020-10-21 21:57:00 -07:00
Simon Willison
c37a0a93ec
Build and deploy docs.db to datasette-docs-latest
2020-10-18 14:35:26 -07:00
Simon Willison
6421ca2b22
Use actions/setup-python@v2 to deploy latest
...
This should fix an error with Python 3.9.
2020-10-09 09:28:17 -07:00
Simon Willison
6e091b14b6
Run tests against Python 3.9
2020-10-09 09:22:49 -07:00
Simon Willison
cb515a9d75
Don't push preleases to Docker Hub, refs #940
2020-09-14 15:09:03 -07:00
Simon Willison
26de3a18bc
tmate debugging tool
2020-09-14 14:53:54 -07:00
Simon Willison
30b98e4d29
Single, not double quotes - refs #940
2020-09-13 19:47:21 -07:00
Simon Willison
44cf424a94
Remove double colon, refs #956
2020-08-28 18:33:05 -07:00
Simon Willison
c36e287d71
Don't deploy alpha/betas to Docker Hub
...
Refs #956
2020-08-28 18:18:52 -07:00
Simon Willison
5e0b72247e
Run CI on GitHub Actions, not Travis
...
* Run CI on GitHub Actions, not Travis - refs #940
* Update documentation refs to Travis
* Release action now runs parallel tests, then pushes to PyPI, then Docker Hub
2020-08-17 22:09:34 -07:00
Simon Willison
adfe304281
Upgrade pip in GitHub Actions runs
2020-08-11 16:12:22 -07:00
Simon Willison
7ca8c0521a
Calculate coverage on pushes to main
...
Refs #849
2020-07-31 16:23:02 -07:00
Simon Willison
84c162dec3
Deploy latest on pushes to main
...
Refs #849
2020-07-31 16:22:31 -07:00
Simon Willison
73bb59a9b5
Mirror master and main, refs #849
2020-07-31 16:19:43 -07:00
Simon Willison
cf7a2bdb40
Action to run tests and upload coverage to codecov.io
...
Closes #843 .
2020-06-13 14:36:49 -07:00
Simon Willison
3e8932bf64
Upgrade to actions/cache@v2
2020-05-29 15:12:10 -07:00
Simon Willison
a351d353bc
Fixed typo in GitHub Action configuration, refs #705
2020-03-24 19:30:50 -07:00
Simon Willison
90015b2689
Deploy latest.datasett.io to Cloud Run, refs #705
2020-03-24 19:26:02 -07:00