Skip to content

Commit

Permalink
wip: add pypy3 to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
xflr6 committed Mar 17, 2024
1 parent d1bdcb7 commit 5a9598e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ jobs:
args: "--skip-slow --exclude-raw"
extra: ",pandas"
os: ubuntu-latest
- name: linux-pypy3-quick
python-version: pypy3
extra: ""
args: "--skip-pandas --skip-slow --exclude-raw"
os: ubuntu-latest
steps:
- name: Check/configure long paths (if windows)
if: ${{ startsWith(matrix.os, 'windows-') }}
Expand Down
2 changes: 1 addition & 1 deletion treedb/backend/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
def print_dataset(*, ignore_dirty: bool = False,
file=None,
bind=_globals.ENGINE):
with _backend.connect(bind=bind) as conn:
with _backend.connect(bind=bind) as conn, conn.begin():
dataset = (conn.execute(sa.select(Dataset))
.mappings()
.one())
Expand Down

0 comments on commit 5a9598e

Please sign in to comment.