Skip to content

Commit

Permalink
Merge pull request #116 from DataJunction/check_code_coverage
Browse files Browse the repository at this point in the history
chore: check code coverage
  • Loading branch information
betodealmeida committed Apr 17, 2022
2 parents 51915f5 + b7f2aad commit 51e7a5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
pip install -e '.[testing]'
- name: Test with pytest
run: |
pytest --cov=src/datajunction -vv tests/ --doctest-modules src/datajunction
pytest --cov-fail-under=100 --cov=src/datajunction -vv tests/ --doctest-modules src/datajunction
2 changes: 1 addition & 1 deletion src/datajunction/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def get_session() -> Iterator[Session]:
"""
engine = get_engine()

with Session(engine, autoflush=False) as session:
with Session(engine, autoflush=False) as session: # pragma: no cover
yield session


Expand Down

0 comments on commit 51e7a5b

Please sign in to comment.