Support entrypoints for --load-extension (#473)

* Entrypoint support, closes #470
This commit is contained in:
Simon Willison 2022-08-26 22:55:47 -07:00 committed by GitHub
commit 19dd077944
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 145 additions and 41 deletions

View file

@ -35,6 +35,10 @@ jobs:
- name: Install SpatiaLite
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install libsqlite3-mod-spatialite
- name: Build extension for --load-extension test
if: matrix.os == 'ubuntu-latest'
run: |-
(cd tests && gcc ext.c -fPIC -shared -o ext.so && ls -lah)
- name: Run tests
run: |
pytest -v