Skip to content

Commit

Permalink
Merge pull request #6 from MacHu-GWU/dev/2.X
Browse files Browse the repository at this point in the history
2.0.0.2
  • Loading branch information
MacHu-GWU authored May 28, 2024
2 parents d9d7e40 + a07b8a2 commit bdcb218
Show file tree
Hide file tree
Showing 45 changed files with 7,045 additions and 565 deletions.
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ omit =
sqlalchemy_mate/docs/*
sqlalchemy_mate/tests/*
sqlalchemy_mate/vendor/*
sqlalchemy_mate/patterns/large_binary_column/local.py

[report]
# Regexes for lines to exclude from consideration
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
sqlalchemy_mate_venv/
sqlalchemy_mate.egg-info/
sqlalchemy_mate-*/
debug/data/
tmp/
.db.json

Expand Down
5 changes: 4 additions & 1 deletion bin/run_test_on_many_sqlalchemy_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

import subprocess
from sqlalchemy_mate.paths import dir_project_root, dir_venv_bin
from rich import print as rprint
from rich.panel import Panel

sqlalchemy_versions = [
"2.0.0",
Expand All @@ -16,11 +18,12 @@
path_venv_pip = dir_venv_bin / "pip"
with dir_project_root.cwd():
for version in sqlalchemy_versions:
rprint(Panel(f"Test on sqlalchemy.__version__ = {version}"))
subprocess.run(
[
f"{path_venv_pip}",
"install",
f"sqlalchemy=={version}",
]
)
subprocess.run(["pyops", "cov-only"])
subprocess.run(["pyops", "cov-only"], check=True)
Loading

0 comments on commit bdcb218

Please sign in to comment.