-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Way to test SQLite 3.37 (and potentially other versions) in CI #346
Comments
Ideally I'd like an extra set of matrix options for different versions of SQLite. I can use |
Here's a modified version of the @cli.command()
@click.argument(
"path",
type=click.Path(exists=True, file_okay=True, dir_okay=False, allow_dash=False),
required=True,
)
@load_extension_option
def dump(path, load_extension):
"""Output a SQL dump of the schema and full contents of the database"""
db = sqlite_utils.Database(path)
_load_extensions(db, load_extension)
# pysqlite3 doesn't implement .iterdump()
from sqlite3.dump import _iterdump
for line in _iterdump(db.conn):
click.echo(line) |
For the moment I think I'll combine two problems into one, and just add a single matrix alternative that uses |
I have a working recipe for compiling it for macOS here: #344 (comment) |
To keep things simple for the moment I'm only going to add one extra thing to the matrix, and it will be a run of the tests against SQLite 3.37.0 using pysqlite3 on Linux only. I can use this mechanism: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#example-including-new-combinations |
Originally posted by @simonw in #344 (comment)
The text was updated successfully, but these errors were encountered: