Skip to content

Commit

Permalink
Oops, use correct Python for load_extension
Browse files Browse the repository at this point in the history
simonw authored Aug 15, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 57bfe6e commit b98449b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/experiment.yml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ on:

jobs:
setup:
runs-on: windows-2019
runs-on: windows-latest

steps:
- uses: actions/checkout@v4
@@ -30,5 +30,5 @@ jobs:
run: echo $PWD\spatialite-loadable-modules-5.0.0-win-amd64
- name: Verify installation
run: |
python -c "import sqlite3; sqlite3.enable_load_extension(True); sqlite3.load_extension('$env:GITHUB_WORKSPACE\spatialite-loadable-modules-5.0.0-win-amd64\mod_spatialite')"
python -c "import sqlite3; db = sqlite3.Connection(':memory:'); db.enable_load_extension(True); db.load_extension('$env:GITHUB_WORKSPACE\spatialite-loadable-modules-5.0.0-win-amd64\mod_spatialite')"
# datasette --version

0 comments on commit b98449b

Please sign in to comment.